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.ServerConnStateprivate final IOControlprivate boolean -
Constructor Summary
ConstructorsConstructorDescriptionResponseTriggerImpl(AsyncNHttpServiceHandler.ServerConnState connState, IOControl iocontrol) -
Method Summary
Modifier and TypeMethodDescriptionvoidReport an IOException thrown while processing the request.voidReports a protocol exception thrown while processing the request.voidsubmitResponse(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:NHttpResponseTriggerSubmits a response to be sent back to the client as a result of processing of the request.- Specified by:
submitResponsein interfaceNHttpResponseTrigger
-
handleException
Description copied from interface:NHttpResponseTriggerReports a protocol exception thrown while processing the request.- Specified by:
handleExceptionin interfaceNHttpResponseTrigger
-
handleException
Description copied from interface:NHttpResponseTriggerReport an IOException thrown while processing the request.- Specified by:
handleExceptionin interfaceNHttpResponseTrigger
-