|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.binding.soap.listener.incoming.SoapServerConfig
public class SoapServerConfig
This class is used to store only the SOAP server related configuration values.
| Field Summary | |
|---|---|
protected int |
jettyAcceptors
The number of acceptors |
protected int |
jettyThreadMaxPoolSize
The thread pool maximum size |
protected int |
jettyThreadMinPoolSize
The thread pool minimum size |
protected String |
servicesURL
|
protected String |
wsnContext
|
protected String |
wsnProducerMapping
|
protected String |
wsnProducerURL
|
| Constructor Summary | |
|---|---|
SoapServerConfig()
Creates a new instance of SoapServerConfig |
|
| Method Summary | |
|---|---|
void |
addRedirect(String from,
String to)
Define a HTTP redirection (to customize URLs) |
String |
getBaseURL()
|
String |
getBaseURL(String transport)
|
org.apache.axis2.addressing.EndpointReference[] |
getEPRsForAxisService(String serviceName,
String transport)
Get the EPRs for the specified Axis service name and protocol |
String |
getHostAddress()
Return the HTTP/HTTPS host name |
String |
getHostToDisplay()
Return the HTTP/HTTPS host name (to display) |
int |
getHttpPort()
|
String |
getHttpsKeystoreFile()
Get the keystore file path |
String |
getHttpsKeystoreKeyPassword()
Get the key password |
String |
getHttpsKeystorePassword()
Get the keystore password |
String |
getHttpsKeystoreType()
Get the keystore type (JKS / PKCS12) |
int |
getHttpsPort()
|
String |
getHttpsTruststoreFile()
Get the truststore file path |
String |
getHttpsTruststorePassword()
Get the truststore password |
String |
getHttpsTruststoreType()
Get the truststore type (JKS / PKCS12) |
int |
getJettyAcceptors()
|
int |
getJettyThreadMaxPoolSize()
|
int |
getJettyThreadMinPoolSize()
|
String |
getRedirect(String from)
|
String |
getServicesContext()
|
String |
getServicesMapping()
|
String |
getServicesURL(String transport)
Get the URL of the base URL for the services |
String |
getServiceURL(String serviceName,
String transport)
Get the URL of the service for the specified service name and protocol |
void |
initTransportListenerForAxis(org.apache.axis2.description.TransportInDescription transprtInDesc,
String transport)
Initialize the transport description for Axis |
boolean |
isHttpsClientAuthEnabled()
Return if HTTPS client authentication is enabled |
boolean |
isHttpsEnabled()
Return if HTTPS is enabled |
boolean |
isProvidesList()
|
boolean |
isRestricted()
Return if the HTTP/HTTPS server is configured to listen to only one interface or not |
boolean |
isValidHostName()
Return if the host is valid |
void |
removeRedirect(String from)
|
void |
setHost(Logger logger,
String host)
Validate the specified host and add it ti the server configuration |
void |
setHttpPort(int port)
|
void |
setHttpsClientAuthEnabled(boolean isHttpsClientAuthEnabled)
Define if HTTPS client authentication is enabled |
void |
setHttpsEnabled(boolean isHttpsEnabled)
Define if HTTPS is enabled |
void |
setHttpsKeyPassword(String httpsKeytoreKeyPassword)
Set the key password |
void |
setHttpsKeytoreFile(String httpsKeytoreFile)
Set the keystore absolute file path |
void |
setHttpsKeytorePassword(String httpsKeytorePassword)
Set the keystore password |
void |
setHttpsKeytoreType(String httpsKeystoreType)
Set the type of the keystore (JKS / PKCS12) |
void |
setHttpsPort(int port)
|
void |
setHttpsTruststoreFile(String httpsTruststoreFile)
Set the truststore absolute file path |
void |
setHttpsTruststorePassword(String httpsTruststorePassword)
Set the truststore password |
void |
setHttpsTruststoreType(String httpsTruststoreType)
Set the type of the truststore (JKS / PKCS12) |
void |
setJettyAcceptors(int jettyAcceptors)
|
void |
setJettyThreadMaxPoolSize(int jettyThreadMaxPoolSize)
|
void |
setJettyThreadMinPoolSize(int jettyThreadMinPoolSize)
|
void |
setProvidesList(boolean providesList)
|
void |
setRestrict(boolean restrict)
|
void |
setServicesContext(String servicesContext)
|
void |
setServicesMapping(String servicesMapping)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int jettyThreadMaxPoolSize
protected int jettyThreadMinPoolSize
protected int jettyAcceptors
protected String wsnContext
protected String wsnProducerMapping
protected String wsnProducerURL
protected String servicesURL
| Constructor Detail |
|---|
public SoapServerConfig()
SoapServerConfig
| Method Detail |
|---|
public void setHost(Logger logger,
String host)
config - the server configurationpublic boolean isValidHostName()
public boolean isRestricted()
public String getHostAddress()
public String getHostToDisplay()
public int getJettyAcceptors()
public int getJettyThreadMaxPoolSize()
public int getJettyThreadMinPoolSize()
public int getHttpPort()
public int getHttpsPort()
public String getServicesContext()
public String getServicesMapping()
public boolean isProvidesList()
public boolean isHttpsEnabled()
public boolean isHttpsClientAuthEnabled()
public String getHttpsKeystoreType()
public String getHttpsKeystoreFile()
public String getHttpsKeystorePassword()
public String getHttpsKeystoreKeyPassword()
public String getHttpsTruststoreType()
public String getHttpsTruststoreFile()
public String getHttpsTruststorePassword()
public void setJettyAcceptors(int jettyAcceptors)
jettyAcceptors - the jettyAcceptors to setpublic void setJettyThreadMaxPoolSize(int jettyThreadMaxPoolSize)
jettyThreadMaxPoolSize - the jettyThreadMaxPoolSize to setpublic void setJettyThreadMinPoolSize(int jettyThreadMinPoolSize)
jettyThreadMinPoolSize - the jettyThreadMinPoolSize to setpublic void setHttpPort(int port)
HTTP - port the HTTP port to setpublic void setHttpsPort(int port)
HTTPS - port the HTTPS port to setpublic void setProvidesList(boolean providesList)
providesList - the providesList to setpublic void setRestrict(boolean restrict)
restrict - the restrict to setpublic void setServicesContext(String servicesContext)
servicesContext - the servicesContext to setpublic void setServicesMapping(String servicesMapping)
servicesMapping - the servicesMapping to setpublic void setHttpsEnabled(boolean isHttpsEnabled)
isHttpsEnabled - a flag set to true if HTTPS is enabled, otherwise falsepublic void setHttpsClientAuthEnabled(boolean isHttpsClientAuthEnabled)
isHttpsClientAuthEnabled - a flag set to true if HTTPS client authentication is enabled, otherwise falsepublic void setHttpsKeytoreType(String httpsKeystoreType)
httpsKeystoreType - the type of the keystore (JKS / PKCS12)public void setHttpsKeytoreFile(String httpsKeytoreFile)
httpsKeytoreFile - the keystore absolute file pathpublic void setHttpsKeytorePassword(String httpsKeytorePassword)
httpsKeytorePassword - the keystore passwordpublic void setHttpsKeyPassword(String httpsKeytoreKeyPassword)
httpsKeytoreKeyPassword - the key passwordpublic void setHttpsTruststoreType(String httpsTruststoreType)
httpsTruststoreType - the type of the truststore (JKS / PKCS12)public void setHttpsTruststoreFile(String httpsTruststoreFile)
httpsTruststoreFile - the truststore absolute file pathpublic void setHttpsTruststorePassword(String httpsTruststorePassword)
httpsTruststorePassword - the truststore password
public org.apache.axis2.addressing.EndpointReference[] getEPRsForAxisService(String serviceName,
String transport)
throws org.apache.axis2.AxisFault
serviceName - the Axis service nameprotocol - the protocolaxisConfigurationContext - the Axis 2 configuration
org.apache.axis2.AxisFault
public String getServiceURL(String serviceName,
String transport)
serviceName - the Axis service nametransport - the transport
public String getServicesURL(String transport)
transport - the transport
public void initTransportListenerForAxis(org.apache.axis2.description.TransportInDescription transprtInDesc,
String transport)
throws org.apache.axis2.AxisFault
transprtInDesc - the transport descriptionport - the port to use to initialize the transport description
org.apache.axis2.AxisFault
public void addRedirect(String from,
String to)
from - Original URIto - Destination URIpublic String getRedirect(String from)
public void removeRedirect(String from)
public String getBaseURL()
public String getBaseURL(String transport)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||