public class HttpConnectionHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION
MAJOR_VERSION
|
static int |
MINOR_VERSION
MINOR_VERSION
|
| Constructor and Description |
|---|
HttpConnectionHandler(HttpContentHandler handler)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the handler.
|
void |
handleConnection(Socket socket)
Handles the incoming connection and forwards to the content handler
|
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
public HttpConnectionHandler(HttpContentHandler handler)
handler - The content handlerpublic void handleConnection(Socket socket)
socket - The socket of the connectionpublic void close()
Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.