Package org.apache.http.nio.protocol
Class AsyncNHttpServiceHandler.ResponseTriggerImpl
java.lang.Object
org.apache.http.nio.protocol.AsyncNHttpServiceHandler.ResponseTriggerImpl
- All Implemented Interfaces:
NHttpResponseTrigger
- Enclosing class:
AsyncNHttpServiceHandler
private static class AsyncNHttpServiceHandler.ResponseTriggerImpl
extends Object
implements NHttpResponseTrigger
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AsyncNHttpServiceHandler.ServerConnState
private final IOControl
private boolean
-
Constructor Summary
ConstructorsConstructorDescriptionResponseTriggerImpl
(AsyncNHttpServiceHandler.ServerConnState connState, IOControl iocontrol) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Report an IOException thrown while processing the request.void
Reports a protocol exception thrown while processing the request.void
submitResponse
(HttpResponse response) Submits a response to be sent back to the client as a result of processing of the request.
-
Field Details
-
connState
-
iocontrol
-
triggered
private volatile boolean triggered
-
-
Constructor Details
-
ResponseTriggerImpl
-
-
Method Details
-
submitResponse
Description copied from interface:NHttpResponseTrigger
Submits a response to be sent back to the client as a result of processing of the request.- Specified by:
submitResponse
in interfaceNHttpResponseTrigger
-
handleException
Description copied from interface:NHttpResponseTrigger
Reports a protocol exception thrown while processing the request.- Specified by:
handleException
in interfaceNHttpResponseTrigger
-
handleException
Description copied from interface:NHttpResponseTrigger
Report an IOException thrown while processing the request.- Specified by:
handleException
in interfaceNHttpResponseTrigger
-