public class RequestForFileConsumer extends AbsClientRequestConsumer
AbsClientRequestConsumer to consume a client request for a local static file and which generates the ResponseProducer.buffer, context, Logger, producer| Modifier and Type | Method and Description |
|---|---|
void |
requestReceived(org.apache.http.HttpRequest request)
Once we have fully received the request from the client, generate a response and tell the
ResponseProducer about it. |
close, consumeContent, failed, getException, getResult, isDone, requestCompletedpublic void requestReceived(org.apache.http.HttpRequest request)
throws org.apache.http.HttpException,
IOException
ResponseProducer about it.org.apache.http.HttpExceptionIOExceptionCopyright © 2015–2024 Frank Stock. All rights reserved.