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, requestCompleted
public 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.HttpException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class AbsClientRequestConsumer
IOException
Copyright © 2015–2024 Frank Stock. All rights reserved.