|
HPSearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcgl.hpsearch.common.SOAPProcessor.HTTPListener
Implements a simple HTTP Server that listens for SOAP requests and then takes
actions based on the value of the <Action> element by forwarding the
request to the specified processor. If a request handler is not found then a
SOAPFault is thrown.
Created on Jan 28, 2005
| Constructor Summary | |
HTTPListener(int p)
Create a new Soap Service server. |
|
| Method Summary | |
void |
addHandler(SOAPRequestHandler handler)
Adds a new Service to be deployed |
String[] |
getDeployedListeners()
Gets a list of deployed handlers |
String |
getEndpointAddress()
The endpoint address of this listener. |
int |
getPort()
The port on which this server runs |
boolean |
isReqRespCommunicationSocket()
|
void |
run()
Starts the HTTPServer at the specified port. |
void |
setReqRespCommunicationSocket(boolean reqRespCommunicationSocket)
|
void |
stopServer()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HTTPListener(int p)
p - Specifies the port for the service. If 0 then the first unused
port is used. Use getPort() to find the port used| Method Detail |
public final boolean isReqRespCommunicationSocket()
public final void setReqRespCommunicationSocket(boolean reqRespCommunicationSocket)
reqRespCommunicationSocket - The reqRespCommunicationSocket to set.public void addHandler(SOAPRequestHandler handler)
handler - -
The JAVA object which implements the functionality. By default
all public functions of this class would be allowed methods of
the service.public int getPort()
public String getEndpointAddress()
http://host:port
public String[] getDeployedListeners()
public void stopServer()
public void run()
run in interface Runnable
|
HPSearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||