org.apache.http.nio.protocol
Class NHttpServiceHandlerBase
java.lang.Object
org.apache.http.nio.protocol.NHttpHandlerBase
org.apache.http.nio.protocol.NHttpServiceHandlerBase
- All Implemented Interfaces:
- NHttpServiceHandler
- Direct Known Subclasses:
- BufferingHttpServiceHandler, ThrottlingHttpServiceHandler
public abstract class NHttpServiceHandlerBase
- extends NHttpHandlerBase
- implements NHttpServiceHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
responseFactory
protected final HttpResponseFactory responseFactory
handlerResolver
protected HttpRequestHandlerResolver handlerResolver
expectationVerifier
protected HttpExpectationVerifier expectationVerifier
NHttpServiceHandlerBase
public NHttpServiceHandlerBase(HttpProcessor httpProcessor,
HttpResponseFactory responseFactory,
ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
HttpParams params)
NHttpServiceHandlerBase
public NHttpServiceHandlerBase(HttpProcessor httpProcessor,
HttpResponseFactory responseFactory,
ConnectionReuseStrategy connStrategy,
HttpParams params)
setHandlerResolver
public void setHandlerResolver(HttpRequestHandlerResolver handlerResolver)
setExpectationVerifier
public void setExpectationVerifier(HttpExpectationVerifier expectationVerifier)
exception
public void exception(NHttpServerConnection conn,
java.io.IOException ex)
- Description copied from interface:
NHttpServiceHandler
- Triggered when an I/O error occurrs while reading from or writing
to the underlying channel.
- Specified by:
exception
in interface NHttpServiceHandler
- Parameters:
conn
- HTTP connection that caused an I/O errorex
- I/O exception
timeout
public void timeout(NHttpServerConnection conn)
- Description copied from interface:
NHttpServiceHandler
- Triggered when no input is detected on this connection over the
maximum period of inactivity.
- Specified by:
timeout
in interface NHttpServiceHandler
- Parameters:
conn
- HTTP connection that caused timeout condition.
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.