|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.nio.client.methods.HttpAsyncPost
HttpAsyncMethods.createPost(URI, String, ContentType)
or HttpAsyncMethods.createPost(URI, byte[], ContentType)
@Deprecated public class HttpAsyncPost
Constructor Summary | |
---|---|
HttpAsyncPost(String requestURI,
byte[] content,
String contentType)
Deprecated. |
|
HttpAsyncPost(String requestURI,
String content)
Deprecated. |
|
HttpAsyncPost(String requestURI,
String content,
String mimeType,
String charset)
Deprecated. |
|
HttpAsyncPost(URI requestURI,
byte[] content,
String contentType)
Deprecated. |
|
HttpAsyncPost(URI requestURI,
String content)
Deprecated. |
|
HttpAsyncPost(URI requestURI,
String content,
String mimeType,
String charset)
Deprecated. |
Method Summary | |
---|---|
void |
close()
Deprecated. |
protected HttpEntityEnclosingRequest |
createRequest(URI requestURI,
HttpEntity entity)
Deprecated. |
HttpRequest |
generateRequest()
Deprecated. |
HttpHost |
getTarget()
Deprecated. |
boolean |
isRepeatable()
Deprecated. |
void |
produceContent(org.apache.http.nio.ContentEncoder encoder,
org.apache.http.nio.IOControl ioctrl)
Deprecated. |
void |
requestCompleted(HttpContext context)
Deprecated. |
void |
resetRequest()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpAsyncPost(URI requestURI, byte[] content, String contentType)
public HttpAsyncPost(URI requestURI, String content, String mimeType, String charset)
public HttpAsyncPost(URI requestURI, String content)
public HttpAsyncPost(String requestURI, byte[] content, String contentType)
public HttpAsyncPost(String requestURI, String content, String mimeType, String charset)
public HttpAsyncPost(String requestURI, String content)
Method Detail |
---|
protected HttpEntityEnclosingRequest createRequest(URI requestURI, HttpEntity entity)
public HttpRequest generateRequest() throws IOException, HttpException
generateRequest
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
IOException
HttpException
public HttpHost getTarget()
getTarget
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
public void produceContent(org.apache.http.nio.ContentEncoder encoder, org.apache.http.nio.IOControl ioctrl) throws IOException
produceContent
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
IOException
public void requestCompleted(HttpContext context)
requestCompleted
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
public boolean isRepeatable()
isRepeatable
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
public void resetRequest()
resetRequest
in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
public void close() throws IOException
close
in interface Closeable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |