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
Deprecated.
@Deprecated
public abstract class NHttpServiceHandlerBase
- extends NHttpHandlerBase
- implements NHttpServiceHandler
Field Summary |
protected org.apache.http.protocol.HttpExpectationVerifier |
expectationVerifier
Deprecated. |
protected org.apache.http.protocol.HttpRequestHandlerResolver |
handlerResolver
Deprecated. |
protected org.apache.http.HttpResponseFactory |
responseFactory
Deprecated. |
Constructor Summary |
NHttpServiceHandlerBase(org.apache.http.protocol.HttpProcessor httpProcessor,
org.apache.http.HttpResponseFactory responseFactory,
org.apache.http.ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params)
Deprecated. |
NHttpServiceHandlerBase(org.apache.http.protocol.HttpProcessor httpProcessor,
org.apache.http.HttpResponseFactory responseFactory,
org.apache.http.ConnectionReuseStrategy connStrategy,
org.apache.http.params.HttpParams params)
Deprecated. |
Method Summary |
void |
exception(NHttpServerConnection conn,
java.io.IOException ex)
Deprecated. Triggered when an I/O error occurrs while reading from or writing
to the underlying channel. |
void |
setExpectationVerifier(org.apache.http.protocol.HttpExpectationVerifier expectationVerifier)
Deprecated. |
void |
setHandlerResolver(org.apache.http.protocol.HttpRequestHandlerResolver handlerResolver)
Deprecated. |
void |
timeout(NHttpServerConnection conn)
Deprecated. Triggered when no input is detected on this connection over the
maximum period of inactivity. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
responseFactory
protected final org.apache.http.HttpResponseFactory responseFactory
- Deprecated.
expectationVerifier
protected org.apache.http.protocol.HttpExpectationVerifier expectationVerifier
- Deprecated.
handlerResolver
protected org.apache.http.protocol.HttpRequestHandlerResolver handlerResolver
- Deprecated.
NHttpServiceHandlerBase
public NHttpServiceHandlerBase(org.apache.http.protocol.HttpProcessor httpProcessor,
org.apache.http.HttpResponseFactory responseFactory,
org.apache.http.ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params)
- Deprecated.
NHttpServiceHandlerBase
public NHttpServiceHandlerBase(org.apache.http.protocol.HttpProcessor httpProcessor,
org.apache.http.HttpResponseFactory responseFactory,
org.apache.http.ConnectionReuseStrategy connStrategy,
org.apache.http.params.HttpParams params)
- Deprecated.
setHandlerResolver
public void setHandlerResolver(org.apache.http.protocol.HttpRequestHandlerResolver handlerResolver)
- Deprecated.
setExpectationVerifier
public void setExpectationVerifier(org.apache.http.protocol.HttpExpectationVerifier expectationVerifier)
- Deprecated.
exception
public void exception(NHttpServerConnection conn,
java.io.IOException ex)
- Deprecated.
- 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)
- Deprecated.
- 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-2008 Apache Software Foundation. All Rights Reserved.