org.apache.http.nio.client.methods
Class HttpAsyncPost

java.lang.Object
  extended by org.apache.http.nio.client.methods.HttpAsyncPost
All Implemented Interfaces:
Closeable, org.apache.http.nio.protocol.HttpAsyncRequestProducer

Deprecated. use HttpAsyncMethods.createPost(URI, String, ContentType) or HttpAsyncMethods.createPost(URI, byte[], ContentType)

@Deprecated
public class HttpAsyncPost
extends Object


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

HttpAsyncPost

public HttpAsyncPost(URI requestURI,
                     byte[] content,
                     String contentType)
Deprecated. 

HttpAsyncPost

public HttpAsyncPost(URI requestURI,
                     String content,
                     String mimeType,
                     String charset)
Deprecated. 

HttpAsyncPost

public HttpAsyncPost(URI requestURI,
                     String content)
Deprecated. 

HttpAsyncPost

public HttpAsyncPost(String requestURI,
                     byte[] content,
                     String contentType)
Deprecated. 

HttpAsyncPost

public HttpAsyncPost(String requestURI,
                     String content,
                     String mimeType,
                     String charset)
Deprecated. 

HttpAsyncPost

public HttpAsyncPost(String requestURI,
                     String content)
Deprecated. 
Method Detail

createRequest

protected HttpEntityEnclosingRequest createRequest(URI requestURI,
                                                   HttpEntity entity)
Deprecated. 

generateRequest

public HttpRequest generateRequest()
                            throws IOException,
                                   HttpException
Deprecated. 
Specified by:
generateRequest in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
Throws:
IOException
HttpException

getTarget

public HttpHost getTarget()
Deprecated. 
Specified by:
getTarget in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer

produceContent

public void produceContent(org.apache.http.nio.ContentEncoder encoder,
                           org.apache.http.nio.IOControl ioctrl)
                    throws IOException
Deprecated. 
Specified by:
produceContent in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer
Throws:
IOException

requestCompleted

public void requestCompleted(HttpContext context)
Deprecated. 
Specified by:
requestCompleted in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer

isRepeatable

public boolean isRepeatable()
Deprecated. 
Specified by:
isRepeatable in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer

resetRequest

public void resetRequest()
Deprecated. 
Specified by:
resetRequest in interface org.apache.http.nio.protocol.HttpAsyncRequestProducer

close

public void close()
           throws IOException
Deprecated. 
Specified by:
close in interface Closeable
Throws:
IOException


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.