@Deprecated public abstract class NHttpServiceHandlerBase extends NHttpHandlerBase implements NHttpServiceHandler
Modifier and Type | Field and Description |
---|---|
protected HttpExpectationVerifier |
expectationVerifier
Deprecated.
|
protected HttpRequestHandlerResolver |
handlerResolver
Deprecated.
|
protected HttpResponseFactory |
responseFactory
Deprecated.
|
allocator, CONN_STATE, connStrategy, eventListener, httpProcessor, params
Constructor and Description |
---|
NHttpServiceHandlerBase(HttpProcessor httpProcessor,
HttpResponseFactory responseFactory,
ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
|
NHttpServiceHandlerBase(HttpProcessor httpProcessor,
HttpResponseFactory responseFactory,
ConnectionReuseStrategy connStrategy,
HttpParams params)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
exception(NHttpServerConnection conn,
IOException ex)
Deprecated.
Triggered when an I/O error occurs while reading from or writing
to the underlying channel.
|
void |
setExpectationVerifier(HttpExpectationVerifier expectationVerifier)
Deprecated.
|
void |
setHandlerResolver(HttpRequestHandlerResolver handlerResolver)
Deprecated.
|
void |
timeout(NHttpServerConnection conn)
Deprecated.
Triggered when no input is detected on this connection over the
maximum period of inactivity.
|
canResponseHaveBody, closeConnection, getParams, handleTimeout, setEventListener, shutdownConnection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closed, connected, exception, inputReady, outputReady, requestReceived, responseReady
protected final HttpResponseFactory responseFactory
protected HttpExpectationVerifier expectationVerifier
protected HttpRequestHandlerResolver handlerResolver
public NHttpServiceHandlerBase(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params)
public NHttpServiceHandlerBase(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, HttpParams params)
public void setHandlerResolver(HttpRequestHandlerResolver handlerResolver)
public void setExpectationVerifier(HttpExpectationVerifier expectationVerifier)
public void exception(NHttpServerConnection conn, IOException ex)
NHttpServiceHandler
exception
in interface NHttpServiceHandler
conn
- HTTP connection that caused an I/O errorex
- I/O exceptionpublic void timeout(NHttpServerConnection conn)
NHttpServiceHandler
timeout
in interface NHttpServiceHandler
conn
- HTTP connection that caused timeout condition.Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.