org.sblim.cimclient.internal.http
Class HttpConnectionHandler

java.lang.Object
  extended by org.sblim.cimclient.internal.http.HttpConnectionHandler

public class HttpConnectionHandler
extends java.lang.Object

Class HttpConnectionHandler is responsible for handling an incoming connection


Field Summary
static int MAJOR_VERSION
          MAJOR_VERSION
static int MINOR_VERSION
          MINOR_VERSION
 
Constructor Summary
HttpConnectionHandler(HttpContentHandler handler)
          Ctor.
 
Method Summary
 void close()
          Closes the handler.
 void handleConnection(java.net.Socket socket)
          Handles the incoming connection and forwards to the content handler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAJOR_VERSION

public static final int MAJOR_VERSION
MAJOR_VERSION

See Also:
Constant Field Values

MINOR_VERSION

public static final int MINOR_VERSION
MINOR_VERSION

See Also:
Constant Field Values
Constructor Detail

HttpConnectionHandler

public HttpConnectionHandler(HttpContentHandler handler)
Ctor.

Parameters:
handler - The content handler
Method Detail

handleConnection

public void handleConnection(java.net.Socket socket)
Handles the incoming connection and forwards to the content handler

Parameters:
socket - The socket of the connection

close

public void close()
Closes the handler. Will also close the content handler.



Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.