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

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

Deprecated. use HttpAsyncMethods.createHead(URI)

@Deprecated
public class HttpAsyncHead
extends Object


Constructor Summary
HttpAsyncHead(String requestURI)
          Deprecated.  
HttpAsyncHead(URI requestURI)
          Deprecated.  
 
Method Summary
 void close()
          Deprecated.  
protected  HttpUriRequest createRequest(URI requestURI)
          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

HttpAsyncHead

public HttpAsyncHead(URI requestURI)
Deprecated. 

HttpAsyncHead

public HttpAsyncHead(String requestURI)
Deprecated. 
Method Detail

createRequest

protected HttpUriRequest createRequest(URI requestURI)
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.