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

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

public class HttpAsyncHead
extends Object


Constructor Summary
HttpAsyncHead(String requestURI)
           
HttpAsyncHead(URI requestURI)
           
 
Method Summary
protected  HttpUriRequest createRequest(URI requestURI)
           
 HttpRequest generateRequest()
           
 HttpHost getTarget()
           
 boolean isRepeatable()
           
 void produceContent(org.apache.http.nio.ContentEncoder encoder, org.apache.http.nio.IOControl ioctrl)
           
 void resetRequest()
           
 
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)

HttpAsyncHead

public HttpAsyncHead(String requestURI)
Method Detail

createRequest

protected HttpUriRequest createRequest(URI requestURI)

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


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