public abstract class

NHttpServiceHandlerBase

extends NHttpHandlerBase
implements NHttpServiceHandler
java.lang.Object
   ↳ org.apache.http.nio.protocol.NHttpHandlerBase
     ↳ org.apache.http.nio.protocol.NHttpServiceHandlerBase

This class is deprecated.
No longer used.

Summary

[Expand]
Inherited Constants
From class org.apache.http.nio.protocol.NHttpHandlerBase
Fields
protected HttpExpectationVerifier expectationVerifier
protected HttpRequestHandlerResolver handlerResolver
protected final HttpResponseFactory responseFactory
[Expand]
Inherited Fields
From class org.apache.http.nio.protocol.NHttpHandlerBase
Public Constructors
NHttpServiceHandlerBase(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params)
NHttpServiceHandlerBase(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, HttpParams params)
Public Methods
void exception(NHttpServerConnection conn, IOException ex)
Triggered when an I/O error occurs while reading from or writing to the underlying channel.
void setExpectationVerifier(HttpExpectationVerifier expectationVerifier)
void setHandlerResolver(HttpRequestHandlerResolver handlerResolver)
void timeout(NHttpServerConnection conn)
Triggered when no input is detected on this connection over the maximum period of inactivity.
[Expand]
Inherited Methods
From class org.apache.http.nio.protocol.NHttpHandlerBase
From class java.lang.Object
From interface org.apache.http.nio.NHttpServiceHandler

Fields

protected HttpExpectationVerifier expectationVerifier

protected HttpRequestHandlerResolver handlerResolver

protected final HttpResponseFactory responseFactory

Public Constructors

public NHttpServiceHandlerBase (HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params)

public NHttpServiceHandlerBase (HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, HttpParams params)

Public Methods

public void exception (NHttpServerConnection conn, IOException ex)

Triggered when an I/O error occurs while reading from or writing to the underlying channel.

Parameters
conn HTTP connection that caused an I/O error
ex I/O exception

public void setExpectationVerifier (HttpExpectationVerifier expectationVerifier)

public void setHandlerResolver (HttpRequestHandlerResolver handlerResolver)

public void timeout (NHttpServerConnection conn)

Triggered when no input is detected on this connection over the maximum period of inactivity.

Parameters
conn HTTP connection that caused timeout condition.