public class HttpConnectionHandler
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
MAJOR_VERSION |
MAJOR_VERSION
|
static int |
MINOR_VERSION |
MINOR_VERSION
|
Constructor | Description |
---|---|
HttpConnectionHandler(HttpContentHandler pHandler,
WBEMConfiguration pProperties) |
Ctor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
Closes the handler.
|
java.lang.String |
getBlockedIPs() |
Get the IPs blocked by the listener associated with the specified port.
|
void |
handleConnection(java.net.Socket socket) |
Handles the incoming connection and forwards to the content handler
|
void |
setBlockedIPs(java.lang.String pIPs) |
Set the IPs to be blocked by the listener associated with the specified
port.
|
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
public HttpConnectionHandler(HttpContentHandler pHandler, WBEMConfiguration pProperties)
pHandler
- The content handlerpProperties
- The configuration propertiespublic void handleConnection(java.net.Socket socket)
socket
- The socket of the connectionpublic void close()
public java.lang.String getBlockedIPs()
public void setBlockedIPs(java.lang.String pIPs)
pIPs
- The comma-separated list of blocked IPs.Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.