org.apache.http.nio.protocol
Class BasicAsyncResponseProducer
java.lang.Object
org.apache.http.nio.protocol.BasicAsyncResponseProducer
- All Implemented Interfaces:
- Closeable, HttpAsyncResponseProducer
@ThreadSafe
public class BasicAsyncResponseProducer
- extends Object
- implements HttpAsyncResponseProducer
- Since:
- 4.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicAsyncResponseProducer
public BasicAsyncResponseProducer(HttpResponse response)
generateResponse
public HttpResponse generateResponse()
- Specified by:
generateResponse
in interface HttpAsyncResponseProducer
produceContent
public void produceContent(ContentEncoder encoder,
IOControl ioctrl)
throws IOException
- Specified by:
produceContent
in interface HttpAsyncResponseProducer
- Throws:
IOException
responseCompleted
public void responseCompleted(HttpContext context)
- Specified by:
responseCompleted
in interface HttpAsyncResponseProducer
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.