|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.cimclient.internal.http.HttpConnectionHandler
public class HttpConnectionHandler
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 pHandler,
WBEMConfiguration pProperties)
Ctor. |
Method Summary | |
---|---|
void |
close()
Closes the handler. |
String |
getBlockedIPs()
Get the IPs blocked by the listener associated with the specified port. |
void |
handleConnection(Socket socket)
Handles the incoming connection and forwards to the content handler |
void |
setBlockedIPs(String pIPs)
Set the IPs to be blocked by the listener associated with the specified port. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
Constructor Detail |
---|
public HttpConnectionHandler(HttpContentHandler pHandler, WBEMConfiguration pProperties)
pHandler
- The content handlerpProperties
- The configuration propertiesMethod Detail |
---|
public void handleConnection(Socket socket)
socket
- The socket of the connectionpublic void close()
public String getBlockedIPs()
public void setBlockedIPs(String pIPs)
pIPs
- The comma-separated list of blocked IPs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |