org.apache.http.nio.protocol
Class NHttpServiceHandlerBase

java.lang.Object
  extended by org.apache.http.nio.protocol.NHttpHandlerBase
      extended by org.apache.http.nio.protocol.NHttpServiceHandlerBase
All Implemented Interfaces:
NHttpServiceHandler

Deprecated. No longer used.

@Deprecated
public abstract class NHttpServiceHandlerBase
extends NHttpHandlerBase
implements NHttpServiceHandler

Since:
4.0

Field Summary
protected  HttpExpectationVerifier expectationVerifier
          Deprecated.  
protected  HttpRequestHandlerResolver handlerResolver
          Deprecated.  
protected  HttpResponseFactory responseFactory
          Deprecated.  
 
Fields inherited from class org.apache.http.nio.protocol.NHttpHandlerBase
allocator, CONN_STATE, connStrategy, eventListener, httpProcessor, params
 
Constructor Summary
NHttpServiceHandlerBase(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params)
          Deprecated.  
NHttpServiceHandlerBase(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, HttpParams params)
          Deprecated.  
 
Method Summary
 void exception(NHttpServerConnection conn, java.io.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.
 
Methods inherited from class org.apache.http.nio.protocol.NHttpHandlerBase
canResponseHaveBody, closeConnection, getParams, handleTimeout, setEventListener, shutdownConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.http.nio.NHttpServiceHandler
closed, connected, exception, inputReady, outputReady, requestReceived, responseReady
 

Field Detail

responseFactory

protected final HttpResponseFactory responseFactory
Deprecated. 

expectationVerifier

protected HttpExpectationVerifier expectationVerifier
Deprecated. 

handlerResolver

protected HttpRequestHandlerResolver handlerResolver
Deprecated. 
Constructor Detail

NHttpServiceHandlerBase

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

NHttpServiceHandlerBase

public NHttpServiceHandlerBase(HttpProcessor httpProcessor,
                               HttpResponseFactory responseFactory,
                               ConnectionReuseStrategy connStrategy,
                               HttpParams params)
Deprecated. 
Method Detail

setHandlerResolver

public void setHandlerResolver(HttpRequestHandlerResolver handlerResolver)
Deprecated. 

setExpectationVerifier

public void setExpectationVerifier(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 occurs while reading from or writing to the underlying channel.

Specified by:
exception in interface NHttpServiceHandler
Parameters:
conn - HTTP connection that caused an I/O error
ex - 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-2011 The Apache Software Foundation. All Rights Reserved.