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

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

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

@Deprecated
public class HttpAsyncPut
extends Object


Constructor Summary
HttpAsyncPut(String requestURI, byte[] content, String contentType)
          Deprecated.  
HttpAsyncPut(String requestURI, String content)
          Deprecated.  
HttpAsyncPut(String requestURI, String content, String mimeType, String charset)
          Deprecated.  
HttpAsyncPut(URI requestURI, byte[] content, String contentType)
          Deprecated.  
HttpAsyncPut(URI requestURI, String content)
          Deprecated.  
HttpAsyncPut(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

HttpAsyncPut

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

HttpAsyncPut

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

HttpAsyncPut

public HttpAsyncPut(URI requestURI,
                    String content)
Deprecated. 

HttpAsyncPut

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

HttpAsyncPut

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

HttpAsyncPut

public HttpAsyncPut(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.