|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean interface.
Method Summary | |
---|---|
void |
addAuthorization(java.lang.String username,
java.lang.String password)
Adds an authorization pair as username/password |
void |
addCommandProcessor(java.lang.String path,
HttpCommandProcessor processor)
Adds a command processor object |
void |
addCommandProcessor(java.lang.String path,
java.lang.String processorClass)
Adds a command processor object by class |
java.lang.String |
getAuthenticationMethod()
Authentication Method |
java.lang.String |
getHost()
Return the host name the server will be listening to. |
int |
getPort()
Returns the port where the server is running on. |
ProcessorMBean |
getProcessor()
|
ObjectName |
getProcessorName()
|
long |
getRequestsCount()
Requests count |
java.util.Date |
getStartDate()
Starting date |
java.lang.String |
getVersion()
Gets the HttpAdaptor version |
boolean |
isActive()
Indicates whether the server's running |
void |
removeCommandProcessor(java.lang.String path)
Removes a command processor object by class |
void |
setAuthenticationMethod(java.lang.String method)
Sets the Authentication Method. |
void |
setHost(java.lang.String host)
Sets the host name where the server will be listening |
void |
setPort(int port)
Sets the value of the server's port |
void |
setProcessor(ProcessorMBean processor)
Sets the object which will post process the XML results. |
void |
setProcessorClass(java.lang.String processorClass)
Sets the classname of the object which will post process the XML results. |
void |
setProcessorName(ObjectName processorName)
Sets the object name which will post process the XML result. |
void |
setProcessorNameString(java.lang.String processorName)
Sets the object name of the PostProcessor MBean. |
void |
setSocketFactory(AdaptorServerSocketFactory factory)
Sets the object which create the server sockets |
void |
setSocketFactoryName(ObjectName factoryName)
Sets the factory's object name which will create the server sockets |
void |
setSocketFactoryNameString(java.lang.String factoryName)
Sets the factory's object name which will create the server sockets |
void |
start()
Starts the server |
void |
stop()
Stops the HTTP daemon |
Method Detail |
public void setPort(int port)
port
- the new port's valuepublic int getPort()
public void setHost(java.lang.String host)
host
- Server's hostpublic java.lang.String getHost()
public void setAuthenticationMethod(java.lang.String method)
method
- none/basic/digestpublic java.lang.String getAuthenticationMethod()
public void setProcessor(ProcessorMBean processor)
processor
- a Post processor objectpublic void setProcessorClass(java.lang.String processorClass)
processor
- a Post processor objectpublic void setProcessorNameString(java.lang.String processorName) throws MalformedObjectNameException
processor
- a Post processor objectpublic void setProcessorName(ObjectName processorName)
processorName
- The new processorName valuepublic ProcessorMBean getProcessor()
public ObjectName getProcessorName()
public void setSocketFactory(AdaptorServerSocketFactory factory)
factory
- the socket factorypublic void setSocketFactoryName(ObjectName factoryName)
factory
- the socket factorypublic void setSocketFactoryNameString(java.lang.String factoryName) throws MalformedObjectNameException
factory
- the socket factorypublic boolean isActive()
public java.util.Date getStartDate()
public long getRequestsCount()
public java.lang.String getVersion()
public void addCommandProcessor(java.lang.String path, HttpCommandProcessor processor)
public void addCommandProcessor(java.lang.String path, java.lang.String processorClass)
public void removeCommandProcessor(java.lang.String path)
public void start() throws java.io.IOException
public void stop()
public void addAuthorization(java.lang.String username, java.lang.String password)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |