public class WebServiceServer extends AbstractServer implements org.springframework.context.ApplicationContextAware
Server with Citrus server behaviour, so
server can be started/stopped by Citrus.DEFAULT_CHANNEL_ID_SUFFIX| Constructor and Description |
|---|
WebServiceServer() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jetty.server.Connector |
getConnector()
Gets the connector.
|
org.eclipse.jetty.server.Connector[] |
getConnectors()
Gets the connectors.
|
String |
getContextConfigLocation()
Gets the contextConfigLocation.
|
String |
getContextPath()
Gets the contextPath.
|
WebServiceMessageConverter |
getMessageConverter()
Gets the message converter.
|
String |
getMessageFactoryName()
Gets the message factory name.
|
int |
getPort()
Gets the port.
|
String |
getResourceBase()
Gets the resourceBase.
|
org.eclipse.jetty.security.SecurityHandler |
getSecurityHandler()
Gets the securityHandler.
|
org.eclipse.jetty.servlet.ServletHandler |
getServletHandler()
Gets the servletHandler.
|
String |
getServletMappingPath()
Gets the servletMappingPath.
|
String |
getServletName()
Gets the customized servlet name or default name if not set.
|
String |
getSoapHeaderNamespace()
Gets the default soap header namespace.
|
String |
getSoapHeaderPrefix()
Gets the default soap header prefix.
|
boolean |
isHandleMimeHeaders()
Should handle mime headers.
|
boolean |
isKeepSoapEnvelope()
Gets the keep soap envelope flag.
|
boolean |
isUseRootContextAsParent()
Gets the useRootContextAsParent.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setConnector(org.eclipse.jetty.server.Connector connector)
Sets the connector.
|
void |
setConnectors(org.eclipse.jetty.server.Connector[] connectors)
Sets the connectors.
|
void |
setContextConfigLocation(String contextConfigLocation)
Sets the contextConfigLocation.
|
void |
setContextPath(String contextPath)
Sets the contextPath.
|
void |
setHandleMimeHeaders(boolean handleMimeHeaders)
Enable mime headers in request message which is passed to endpoint adapter.
|
void |
setKeepSoapEnvelope(boolean keepSoapEnvelope)
Sets the keep soap header flag.
|
void |
setMessageConverter(WebServiceMessageConverter messageConverter)
Sets the message converter.
|
void |
setMessageFactoryName(String messageFactoryName)
Sets the message factory name.
|
void |
setPort(int port)
Sets the port.
|
void |
setResourceBase(String resourceBase)
Sets the resourceBase.
|
void |
setSecurityHandler(org.eclipse.jetty.security.SecurityHandler securityHandler)
Sets the securityHandler.
|
void |
setServletHandler(org.eclipse.jetty.servlet.ServletHandler servletHandler)
Sets the servletHandler.
|
void |
setServletMappingPath(String servletMappingPath)
Sets the servletMappingPath.
|
void |
setServletName(String servletName)
Sets the servletName.
|
void |
setSoapHeaderNamespace(String soapHeaderNamespace)
Sets the default soap header namespace.
|
void |
setSoapHeaderPrefix(String soapHeaderPrefix)
Sets the default soap header prefix.
|
void |
setUseRootContextAsParent(boolean useRootContextAsParent)
Sets the useRootContextAsParent.
|
protected void |
shutdown() |
protected void |
startup() |
afterPropertiesSet, createConsumer, createProducer, destroy, getBeanFactory, getDefaultTimeout, getEndpointAdapter, getEndpointConfiguration, getInterceptors, isAutoStart, isRunning, join, run, setAutoStart, setBeanFactory, setDefaultTimeout, setEndpointAdapter, setInterceptors, setRunning, start, stopgetActor, getConsumerName, getName, getProducerName, setActor, setBeanName, setNameprotected void shutdown()
shutdown in class AbstractServerprotected void startup()
startup in class AbstractServerpublic String getServletName()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic int getPort()
public void setPort(int port)
port - the port to setpublic String getResourceBase()
public void setResourceBase(String resourceBase)
resourceBase - the resourceBase to setpublic String getContextConfigLocation()
public void setContextConfigLocation(String contextConfigLocation)
contextConfigLocation - the contextConfigLocation to setpublic org.eclipse.jetty.server.Connector getConnector()
public void setConnector(org.eclipse.jetty.server.Connector connector)
connector - the connector to setpublic org.eclipse.jetty.server.Connector[] getConnectors()
public void setConnectors(org.eclipse.jetty.server.Connector[] connectors)
connectors - the connectors to setpublic String getServletMappingPath()
public void setServletMappingPath(String servletMappingPath)
servletMappingPath - the servletMappingPath to setpublic String getContextPath()
public void setContextPath(String contextPath)
contextPath - the contextPath to setpublic org.eclipse.jetty.security.SecurityHandler getSecurityHandler()
public void setSecurityHandler(org.eclipse.jetty.security.SecurityHandler securityHandler)
securityHandler - the securityHandler to setpublic org.eclipse.jetty.servlet.ServletHandler getServletHandler()
public void setServletHandler(org.eclipse.jetty.servlet.ServletHandler servletHandler)
servletHandler - the servletHandler to setpublic void setServletName(String servletName)
servletName - the servletName to setpublic boolean isUseRootContextAsParent()
public void setUseRootContextAsParent(boolean useRootContextAsParent)
useRootContextAsParent - the useRootContextAsParent to setpublic boolean isHandleMimeHeaders()
public void setHandleMimeHeaders(boolean handleMimeHeaders)
handleMimeHeaders - the handleMimeHeaders to setpublic boolean isKeepSoapEnvelope()
public void setKeepSoapEnvelope(boolean keepSoapEnvelope)
keepSoapEnvelope - public String getSoapHeaderNamespace()
public void setSoapHeaderNamespace(String soapHeaderNamespace)
soapHeaderNamespace - public String getSoapHeaderPrefix()
public void setSoapHeaderPrefix(String soapHeaderPrefix)
soapHeaderPrefix - public WebServiceMessageConverter getMessageConverter()
public void setMessageConverter(WebServiceMessageConverter messageConverter)
messageConverter - public String getMessageFactoryName()
public void setMessageFactoryName(String messageFactoryName)
messageFactoryName - Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.