|
||||||||||
| 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 |
| Constructor Summary | |
|---|---|
SoapServerConfig(java.util.logging.Logger logger,
java.lang.String host,
int httpPort)
Creates a new instance of SoapServerConfig |
|
| Method Summary | |
|---|---|
void |
addRedirect(java.lang.String from,
java.lang.String to)
Define a HTTP redirection (to customize URLs) |
java.lang.String |
buildServiceAddress(java.lang.String transport,
java.lang.String serviceName)
|
java.lang.String |
getBaseURL()
|
java.lang.String |
getBaseURL(java.lang.String transport)
|
org.apache.axis2.addressing.EndpointReference[] |
getEPRsForAxisService(java.lang.String serviceName,
java.lang.String transport)
Get the EPRs for the specified Axis service name and protocol |
java.lang.String |
getHostAddress()
Return the HTTP/HTTPS host name |
java.lang.String |
getHostToDisplay()
Return the HTTP/HTTPS host names (to display) |
int |
getHttpPort()
|
java.lang.String |
getHttpsKeystoreFile()
Get the keystore file path |
java.lang.String |
getHttpsKeystoreKeyPassword()
Get the key password |
java.lang.String |
getHttpsKeystorePassword()
Get the keystore password |
java.lang.String |
getHttpsKeystoreType()
Get the keystore type (JKS / PKCS12) |
int |
getHttpsPort()
|
java.lang.String |
getHttpsTruststoreFile()
Get the truststore file path |
java.lang.String |
getHttpsTruststorePassword()
Get the truststore password |
java.lang.String |
getHttpsTruststoreType()
Get the truststore type (JKS / PKCS12) |
int |
getJettyAcceptors()
|
int |
getJettyThreadMaxPoolSize()
|
int |
getJettyThreadMinPoolSize()
|
java.lang.String |
getRedirect(java.lang.String from)
|
java.lang.String |
getServicesContext()
|
java.lang.String |
getServicesMapping()
|
java.lang.String |
getServicesURL(java.lang.String transport)
Get the URL of the base URL for the services |
java.lang.String |
getServiceURL(java.lang.String serviceName,
java.lang.String transport)
Get the URL of the service for the specified service name and protocol |
void |
initTransportListenerForAxis(org.apache.axis2.description.TransportInDescription transprtInDesc,
java.lang.String transport)
Initialize the transport description for Axis |
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(java.lang.String from)
|
void |
setHttpPort(int port)
|
void |
setHttpsEnabled(boolean isHttpsEnabled)
Define if HTTPS is enabled |
void |
setHttpsKeyPassword(java.lang.String httpsKeytoreKeyPassword)
Set the key password |
void |
setHttpsKeytoreFile(java.lang.String httpsKeytoreFile)
Set the keystore absolute file path |
void |
setHttpsKeytorePassword(java.lang.String httpsKeytorePassword)
Set the keystore password |
void |
setHttpsKeytoreType(java.lang.String httpsKeystoreType)
Set the type of the keystore (JKS / PKCS12) |
void |
setHttpsPort(int port)
|
void |
setHttpsTruststoreFile(java.lang.String httpsTruststoreFile)
Set the truststore absolute file path |
void |
setHttpsTruststorePassword(java.lang.String httpsTruststorePassword)
Set the truststore password |
void |
setHttpsTruststoreType(java.lang.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 restricted)
|
void |
setServicesContext(java.lang.String servicesContext)
|
void |
setServicesMapping(java.lang.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
| Constructor Detail |
|---|
public SoapServerConfig(java.util.logging.Logger logger,
java.lang.String host,
int httpPort)
SoapServerConfig
| Method Detail |
|---|
public boolean isValidHostName()
public boolean isRestricted()
public java.lang.String getHostAddress()
public java.lang.String getHostToDisplay()
public int getJettyAcceptors()
public int getJettyThreadMaxPoolSize()
public int getJettyThreadMinPoolSize()
public int getHttpPort()
public int getHttpsPort()
public java.lang.String getServicesContext()
public java.lang.String getServicesMapping()
public boolean isProvidesList()
public boolean isHttpsEnabled()
public java.lang.String getHttpsKeystoreType()
public java.lang.String getHttpsKeystoreFile()
public java.lang.String getHttpsKeystorePassword()
public java.lang.String getHttpsKeystoreKeyPassword()
public java.lang.String getHttpsTruststoreType()
public java.lang.String getHttpsTruststoreFile()
public java.lang.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 restricted)
restrict - the restrict to setpublic void setServicesContext(java.lang.String servicesContext)
servicesContext - the servicesContext to setpublic void setServicesMapping(java.lang.String servicesMapping)
servicesMapping - the servicesMapping to setpublic void setHttpsEnabled(boolean isHttpsEnabled)
isHttpsEnabled - a flag set to true if HTTPS is enabled, otherwise falsepublic void setHttpsKeytoreType(java.lang.String httpsKeystoreType)
httpsKeystoreType - the type of the keystore (JKS / PKCS12)public void setHttpsKeytoreFile(java.lang.String httpsKeytoreFile)
httpsKeytoreFile - the keystore absolute file pathpublic void setHttpsKeytorePassword(java.lang.String httpsKeytorePassword)
httpsKeytorePassword - the keystore passwordpublic void setHttpsKeyPassword(java.lang.String httpsKeytoreKeyPassword)
httpsKeytoreKeyPassword - the key passwordpublic void setHttpsTruststoreType(java.lang.String httpsTruststoreType)
httpsTruststoreType - the type of the truststore (JKS / PKCS12)public void setHttpsTruststoreFile(java.lang.String httpsTruststoreFile)
httpsTruststoreFile - the truststore absolute file pathpublic void setHttpsTruststorePassword(java.lang.String httpsTruststorePassword)
httpsTruststorePassword - the truststore password
public org.apache.axis2.addressing.EndpointReference[] getEPRsForAxisService(java.lang.String serviceName,
java.lang.String transport)
throws org.apache.axis2.AxisFault
serviceName - the Axis service nameprotocol - the protocolaxisConfigurationContext - the Axis 2 configuration
org.apache.axis2.AxisFault
public java.lang.String getServiceURL(java.lang.String serviceName,
java.lang.String transport)
serviceName - the Axis service nametransport - the transport
public java.lang.String getServicesURL(java.lang.String transport)
transport - the transport
public void initTransportListenerForAxis(org.apache.axis2.description.TransportInDescription transprtInDesc,
java.lang.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(java.lang.String from,
java.lang.String to)
from - Original URIto - Destination URIpublic java.lang.String getRedirect(java.lang.String from)
public void removeRedirect(java.lang.String from)
public java.lang.String getBaseURL()
public java.lang.String getBaseURL(java.lang.String transport)
public java.lang.String buildServiceAddress(java.lang.String transport,
java.lang.String serviceName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||