public static class SoapServer.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SoapServer.Builder |
acceptorThreads(int value) |
SoapServer |
build()
Builds populated SoapServer instance
|
SoapServer.Builder |
connectionMaxIdleTimeInSeconds(int value) |
SoapServer.Builder |
coreThreads(int value) |
SoapServer.Builder |
httpPort(int value) |
SoapServer.Builder |
httpsPort(int value) |
SoapServer.Builder |
keyStorePassword(String value) |
SoapServer.Builder |
keyStoreType(String value) |
SoapServer.Builder |
keyStoreUrl(URL value) |
SoapServer.Builder |
maxThreads(int value) |
SoapServer.Builder |
reuseAddress(boolean value) |
SoapServer.Builder |
threadKeepAliveTimeInSeconds(int value) |
public SoapServer.Builder httpPort(int value)
value - Sets the http port on which the server listens. Has to be not negative.public SoapServer.Builder httpsPort(int value)
value - Sets the https port on which the server listens. Has to be not negative.public SoapServer.Builder connectionMaxIdleTimeInSeconds(int value)
value - Sets the connection max idle time in seconds. Has to be not negative.public SoapServer.Builder acceptorThreads(int value)
value - Sets the number of http server connector acceptor threads. Has to be positive.public SoapServer.Builder coreThreads(int value)
value - Sets the number of http server core threads. Has to be positive.public SoapServer.Builder maxThreads(int value)
value - Sets the maximal number of threads that the http server may spawn. Has to be positive.public SoapServer.Builder threadKeepAliveTimeInSeconds(int value)
value - Sets the value of thread keep alive in seconds. Has to be not negative.public SoapServer.Builder keyStoreUrl(URL value)
value - Specifies the URL of the keystore to use in the SOAP communication. Null is not accepted. If there's more than
one certificate in the keystore it is undefined which of them will be usedpublic SoapServer.Builder keyStoreType(String value)
value - Specifies the type of the keystore. Null is not accepted.public SoapServer.Builder keyStorePassword(String value)
value - keystore password. Null is accepted.public SoapServer.Builder reuseAddress(boolean value)
value - Sets the reuseAddress on the underlying @see java.net.Socketpublic SoapServer build()
Copyright © 2012-2018. All Rights Reserved.