Package org.citrusframework.ws.server
Class WebServiceServerBuilder
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointBuilder<T>
org.citrusframework.server.AbstractServerBuilder<WebServiceServer,WebServiceServerBuilder>
org.citrusframework.ws.server.WebServiceServerBuilder
- All Implemented Interfaces:
EndpointBuilder<WebServiceServer>
public class WebServiceServerBuilder
extends AbstractServerBuilder<WebServiceServer,WebServiceServerBuilder>
- Since:
- 2.5
-
Field Summary
Fields inherited from interface org.citrusframework.endpoint.EndpointBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnector(org.eclipse.jetty.server.Connector connector) Sets the connector.connectors(List<org.eclipse.jetty.server.Connector> connectors) Sets the connectors.contextConfigLocation(String configLocation) Sets the context config location.contextPath(String contextPath) Sets the context path.protected WebServiceServerhandleAttributeHeaders(boolean flag) Sets the handleAttributeHeaders property.handleMimeHeaders(boolean flag) Sets the handleMimeHeaders property.interceptors(List<org.springframework.ws.server.EndpointInterceptor> interceptors) Sets the interceptors.interceptors(org.springframework.ws.server.EndpointInterceptor... interceptors) Sets the interceptors.keepSoapEnvelope(boolean flag) Sets the keepSoapEnvelope property.messageConverter(WebServiceMessageConverter messageConverter) Sets the message converter.messageFactory(String messageFactory) Sets the message factory.port(int port) Sets the port property.resourceBase(String resourceBase) Sets the resource base.rootParentContext(boolean rootParentContext) Enables/disables the root parent context.securityHandler(org.eclipse.jetty.security.SecurityHandler securityHandler) Sets the security handler.servletHandler(org.eclipse.jetty.ee10.servlet.ServletHandler servletHandler) Sets the servlet handler.servletMappingPath(String servletMappingPath) Sets the servlet mapping path.servletName(String servletName) Sets the servlet name.soapHeaderNamespace(String namespace) Sets the SOAP header namespace.soapHeaderPrefix(String prefix) Sets the SOAP header prefix.timeout(long timeout) Methods inherited from class org.citrusframework.server.AbstractServerBuilder
autoStart, debugLogging, endpointAdapterMethods inherited from class org.citrusframework.endpoint.AbstractEndpointBuilder
actor, build, initialize, name, referenceResolver, supportsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.endpoint.EndpointBuilder
build, build
-
Constructor Details
-
WebServiceServerBuilder
public WebServiceServerBuilder()
-
-
Method Details
-
getEndpoint
- Specified by:
getEndpointin classAbstractEndpointBuilder<WebServiceServer>
-
port
Sets the port property.- Parameters:
port-- Returns:
-
contextConfigLocation
Sets the context config location.- Parameters:
configLocation-- Returns:
-
resourceBase
Sets the resource base.- Parameters:
resourceBase-- Returns:
-
rootParentContext
Enables/disables the root parent context.- Parameters:
rootParentContext-- Returns:
-
connectors
Sets the connectors.- Parameters:
connectors-- Returns:
-
connector
Sets the connector.- Parameters:
connector-- Returns:
-
servletName
Sets the servlet name.- Parameters:
servletName-- Returns:
-
servletMappingPath
Sets the servlet mapping path.- Parameters:
servletMappingPath-- Returns:
-
contextPath
Sets the context path.- Parameters:
contextPath-- Returns:
-
servletHandler
public WebServiceServerBuilder servletHandler(org.eclipse.jetty.ee10.servlet.ServletHandler servletHandler) Sets the servlet handler.- Parameters:
servletHandler-- Returns:
-
securityHandler
public WebServiceServerBuilder securityHandler(org.eclipse.jetty.security.SecurityHandler securityHandler) Sets the security handler.- Parameters:
securityHandler-- Returns:
-
messageConverter
Sets the message converter.- Parameters:
messageConverter-- Returns:
-
timeout
- Overrides:
timeoutin classAbstractServerBuilder<WebServiceServer,WebServiceServerBuilder>
-
interceptors
public WebServiceServerBuilder interceptors(List<org.springframework.ws.server.EndpointInterceptor> interceptors) Sets the interceptors.- Parameters:
interceptors-- Returns:
-
interceptors
public WebServiceServerBuilder interceptors(org.springframework.ws.server.EndpointInterceptor... interceptors) Sets the interceptors.- Parameters:
interceptors-- Returns:
-
messageFactory
Sets the message factory.- Parameters:
messageFactory-- Returns:
-
keepSoapEnvelope
Sets the keepSoapEnvelope property.- Parameters:
flag-- Returns:
-
handleMimeHeaders
Sets the handleMimeHeaders property.- Parameters:
flag-- Returns:
-
handleAttributeHeaders
Sets the handleAttributeHeaders property.- Parameters:
flag-- Returns:
-
soapHeaderNamespace
Sets the SOAP header namespace.- Parameters:
namespace-- Returns:
-
soapHeaderPrefix
Sets the SOAP header prefix.- Parameters:
prefix-- Returns:
-