@ThreadSafe public final class SoapServer extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SoapServer.Builder
Builder to construct a properly populated SoapServer
|
| Modifier and Type | Method and Description |
|---|---|
static SoapServer.Builder |
builder() |
void |
destroy()
Stops the SOAP server and deallocates resources
|
List<String> |
getRegisteredContextPaths() |
boolean |
isFailed() |
boolean |
isNotRunning() |
boolean |
isRunning() |
boolean |
isStarted() |
boolean |
isStarting() |
boolean |
isStopped() |
boolean |
isStopping() |
void |
registerRequestResponder(String contextPath,
RequestResponder responder)
Registers responder under specified context path.
|
void |
start()
Starts the SOAP server
|
void |
stop()
Stops the SOAP server (does not release the allocated resources)
|
void |
unregisterRequestResponder(String contextPath)
Unregisters responder from the specified context path
|
public void start()
public boolean isRunning()
public boolean isStarted()
public boolean isStarting()
public boolean isStopping()
public boolean isStopped()
public boolean isNotRunning()
public boolean isFailed()
public void stop()
public void destroy()
public void registerRequestResponder(String contextPath, RequestResponder responder) throws ServiceRegistrationException
contextPath - responder - ServiceRegistrationException - thrown if a registration error occurs - for example duplicate responder registeredpublic void unregisterRequestResponder(String contextPath) throws ServiceRegistrationException
contextPath - ServiceRegistrationException - thrown if an unregistration error occurs - for example no responder registerdpublic List<String> getRegisteredContextPaths()
public static SoapServer.Builder builder()
Copyright © 2012-2018. All Rights Reserved.