| Modifier and Type | Class and Description | 
|---|---|
class  | 
ScriptResponseProducer
This  
ResponseProducer specialization is responsible for invoking the JavaScript endpoint to produce a response,
 translate that response (if need be) into an asynchronous form, and then send that data back to the client. | 
| Modifier and Type | Field and Description | 
|---|---|
protected ResponseProducer | 
AbsClientRequestConsumer.producer  | 
| Modifier and Type | Method and Description | 
|---|---|
ResponseProducer | 
AbsClientRequestConsumer.getResult()
Returns the  
ResponseProducer that will ultimately send the result of this request/response transaction back to the client. | 
| Modifier and Type | Method and Description | 
|---|---|
org.apache.http.nio.protocol.HttpAsyncRequestConsumer<ResponseProducer> | 
RequestHandler.processRequest(org.apache.http.HttpRequest request,
              org.apache.http.protocol.HttpContext context)
 Main entry point of a client request into this server. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
RequestHandler.handle(ResponseProducer producer,
      org.apache.http.nio.protocol.HttpAsyncExchange responseTrigger,
      org.apache.http.protocol.HttpContext context)
 Our  
processRequest method always returns an instance of HttpAsyncRequestConsumer<ResponseProducer> and the ResponseProducer part of that is passed as the first parameter to this method. | 
| Constructor and Description | 
|---|
AbsClientRequestConsumer(org.apache.http.protocol.HttpContext context,
                        BufferIOController buffer,
                        ResponseProducer producer)
Primary constructor 
 | 
TargetResponseConsumer(ResponseProducer producer,
                      BufferIOController producersBuffer,
                      org.apache.http.protocol.HttpContext context,
                      ScriptObjectMirror endpoint)
Primary constructor 
 | 
Copyright © 2015–2024 Frank Stock. All rights reserved.