org.sblim.cimclient.internal.http

Class HttpConnectionHandler

public class HttpConnectionHandler extends Object

Class HttpConnectionHandler is responsible for handling an incoming connection
Field Summary
static intMAJOR_VERSION
MAJOR_VERSION
static intMINOR_VERSION
MINOR_VERSION
Constructor Summary
HttpConnectionHandler(HttpContentHandler handler)
Ctor.
Method Summary
voidclose()
Closes the handler.
voidhandleConnection(Socket socket)
Handles the incoming connection and forwards to the content handler

Field Detail

MAJOR_VERSION

public static final int MAJOR_VERSION
MAJOR_VERSION

MINOR_VERSION

public static final int MINOR_VERSION
MINOR_VERSION

Constructor Detail

HttpConnectionHandler

public HttpConnectionHandler(HttpContentHandler handler)
Ctor.

Parameters: handler The content handler

Method Detail

close

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

handleConnection

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

Parameters: socket The socket of the connection

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