private static class AsyncNHttpServiceHandler.ResponseTriggerImpl extends java.lang.Object implements NHttpResponseTrigger
| Modifier and Type | Field and Description |
|---|---|
private AsyncNHttpServiceHandler.ServerConnState |
connState |
private IOControl |
iocontrol |
private boolean |
triggered |
| Constructor and Description |
|---|
ResponseTriggerImpl(AsyncNHttpServiceHandler.ServerConnState connState,
IOControl iocontrol) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleException(HttpException ex)
Reports a protocol exception thrown while processing the request.
|
void |
handleException(java.io.IOException ex)
Report an IOException 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.
|
private final AsyncNHttpServiceHandler.ServerConnState connState
private final IOControl iocontrol
private volatile boolean triggered
public ResponseTriggerImpl(AsyncNHttpServiceHandler.ServerConnState connState, IOControl iocontrol)
public void submitResponse(HttpResponse response)
NHttpResponseTriggersubmitResponse in interface NHttpResponseTriggerpublic void handleException(HttpException ex)
NHttpResponseTriggerhandleException in interface NHttpResponseTriggerpublic void handleException(java.io.IOException ex)
NHttpResponseTriggerhandleException in interface NHttpResponseTrigger