public class HttpServer extends AbstractServer implements org.springframework.context.ApplicationContextAware
DEFAULT_CHANNEL_ID_SUFFIX| Constructor and Description |
|---|
HttpServer() |
| 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.
|
protected org.springframework.web.servlet.DispatcherServlet |
getDispatherServlet()
Gets the Citrus dispatcher servlet.
|
Map<String,String> |
getFilterMappings()
Gets the value of the filterMappings property.
|
Map<String,javax.servlet.Filter> |
getFilters()
Gets the value of the filters property.
|
HttpMessageConverter |
getMessageConverter()
Gets the message converter.
|
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.
|
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 |
setFilterMappings(Map<String,String> filterMappings)
Sets the filterMappings property.
|
void |
setFilters(Map<String,javax.servlet.Filter> filters)
Sets the filters property.
|
void |
setMessageConverter(HttpMessageConverter messageConverter)
Sets the message converter.
|
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 |
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 AbstractServerprotected org.springframework.web.servlet.DispatcherServlet getDispatherServlet()
public 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 void setFilters(Map<String,javax.servlet.Filter> filters)
filters - public Map<String,javax.servlet.Filter> getFilters()
public void setFilterMappings(Map<String,String> filterMappings)
filterMappings - public Map<String,String> getFilterMappings()
public 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 HttpMessageConverter getMessageConverter()
public void setMessageConverter(HttpMessageConverter messageConverter)
messageConverter - Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.