org.apache.http.nio.client.methods
Class HttpAsyncPut
java.lang.Object
org.apache.http.nio.client.methods.HttpAsyncPut
- All Implemented Interfaces:
- Closeable, HttpAsyncRequestProducer
public class HttpAsyncPut
- extends Object
Constructor Summary |
HttpAsyncPut(String requestURI,
byte[] content,
String contentType)
|
HttpAsyncPut(String requestURI,
String content)
|
HttpAsyncPut(String requestURI,
String content,
String mimeType,
String charset)
|
HttpAsyncPut(URI requestURI,
byte[] content,
String contentType)
|
HttpAsyncPut(URI requestURI,
String content)
|
HttpAsyncPut(URI requestURI,
String content,
String mimeType,
String charset)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpAsyncPut
public HttpAsyncPut(URI requestURI,
byte[] content,
String contentType)
HttpAsyncPut
public HttpAsyncPut(URI requestURI,
String content,
String mimeType,
String charset)
HttpAsyncPut
public HttpAsyncPut(URI requestURI,
String content)
HttpAsyncPut
public HttpAsyncPut(String requestURI,
byte[] content,
String contentType)
HttpAsyncPut
public HttpAsyncPut(String requestURI,
String content,
String mimeType,
String charset)
HttpAsyncPut
public HttpAsyncPut(String requestURI,
String content)
createRequest
protected HttpEntityEnclosingRequest createRequest(URI requestURI,
HttpEntity entity)
generateRequest
public HttpRequest generateRequest()
throws IOException,
HttpException
- Specified by:
generateRequest
in interface HttpAsyncRequestProducer
- Throws:
IOException
HttpException
getTarget
public HttpHost getTarget()
- Specified by:
getTarget
in interface HttpAsyncRequestProducer
produceContent
public void produceContent(org.apache.http.nio.ContentEncoder encoder,
org.apache.http.nio.IOControl ioctrl)
throws IOException
- Specified by:
produceContent
in interface HttpAsyncRequestProducer
- Throws:
IOException
isRepeatable
public boolean isRepeatable()
- Specified by:
isRepeatable
in interface HttpAsyncRequestProducer
resetRequest
public void resetRequest()
- Specified by:
resetRequest
in interface HttpAsyncRequestProducer
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.