public class RequestForScriptConsumer extends AbsClientRequestConsumer
AbsClientRequestConsumer to consume a client request that will be processed by a JavaScript endpoint.buffer, context, Logger, producer| Modifier and Type | Method and Description |
|---|---|
void |
close()
This specialization currently does nothing.
|
void |
requestReceived(org.apache.http.HttpRequest request)
Since the
RequestHandler already asked the endpoint to evaluate the request, *and* since the scripts don't currently perform async loading of request content, this method does nothing. |
consumeContent, failed, getException, getResult, isDone, requestCompletedpublic void requestReceived(org.apache.http.HttpRequest request)
throws org.apache.http.HttpException,
IOException
RequestHandler already asked the endpoint to evaluate the request, *and* since the scripts don't currently perform async loading of request content, this method does nothing.org.apache.http.HttpExceptionIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class AbsClientRequestConsumerIOExceptionCopyright © 2015–2024 Frank Stock. All rights reserved.