/** * Sets the port property. * * @param port * @return */ public WebServiceServerBuilder port(int port) { endpoint.setPort(port); return this; }
/** * Sets the SOAP header namespace. * * @param namespace * @return */ public WebServiceServerBuilder soapHeaderNamespace(String namespace) { endpoint.setSoapHeaderNamespace(namespace); return this; }
/** * Sets the SOAP header prefix. * * @param prefix * @return */ public WebServiceServerBuilder soapHeaderPrefix(String prefix) { endpoint.setSoapHeaderPrefix(prefix); return this; }
/** * Sets the keepSoapEnvelope property. * * @param flag * @return */ public WebServiceServerBuilder keepSoapEnvelope(boolean flag) { endpoint.setKeepSoapEnvelope(flag); return this; }
/** * Sets the handleMimeHeaders property. * * @param flag * @return */ public WebServiceServerBuilder handleMimeHeaders(boolean flag) { endpoint.setHandleMimeHeaders(flag); return this; }
/** * Sets the resource base. * * @param resourceBase * @return */ public WebServiceServerBuilder resourceBase(String resourceBase) { endpoint.setResourceBase(resourceBase); return this; }
/** * Sets the connector. * * @param connector * @return */ public WebServiceServerBuilder connector(Connector connector) { endpoint.setConnector(connector); return this; }
/** * Sets the default timeout. * * @param timeout * @return */ public WebServiceServerBuilder timeout(long timeout) { endpoint.setDefaultTimeout(timeout); return this; }
/** * Sets the endpoint adapter. * * @param endpointAdapter * @return */ public WebServiceServerBuilder endpointAdapter(EndpointAdapter endpointAdapter) { endpoint.setEndpointAdapter(endpointAdapter); return this; }
/** * Sets the security handler. * * @param securityHandler * @return */ public WebServiceServerBuilder securityHandler(SecurityHandler securityHandler) { endpoint.setSecurityHandler(securityHandler); return this; }
/** * Sets the message converter. * * @param messageConverter * @return */ public WebServiceServerBuilder messageConverter(WebServiceMessageConverter messageConverter) { endpoint.setMessageConverter(messageConverter); return this; }
/** * Sets the context path. * * @param contextPath * @return */ public WebServiceServerBuilder contextPath(String contextPath) { endpoint.setContextPath(contextPath); return this; }
/** * Sets the servlet mapping path. * * @param servletMappingPath * @return */ public WebServiceServerBuilder servletMappingPath(String servletMappingPath) { endpoint.setServletMappingPath(servletMappingPath); return this; }
/** * Sets the servlet name. * * @param servletName * @return */ public WebServiceServerBuilder servletName(String servletName) { endpoint.setServletName(servletName); return this; }
/** * Sets the autoStart property. * * @param autoStart * @return */ public WebServiceServerBuilder autoStart(boolean autoStart) { endpoint.setAutoStart(autoStart); return this; }
/** * Sets the interceptors. * * @param interceptors * @return */ public WebServiceServerBuilder interceptors(List<HandlerInterceptor> interceptors) { endpoint.setInterceptors((List) interceptors); return this; }
/** * Sets the context config location. * * @param configLocation * @return */ public WebServiceServerBuilder contextConfigLocation(String configLocation) { endpoint.setContextConfigLocation(configLocation); return this; }
/** * Sets the message factory. * * @param messageFactory * @return */ public WebServiceServerBuilder messageFactory(String messageFactory) { endpoint.setMessageFactoryName(messageFactory); return this; }
/** * Enables/disables the root parent context. * * @param rootParentContext * @return */ public WebServiceServerBuilder rootParentContext(boolean rootParentContext) { endpoint.setUseRootContextAsParent(rootParentContext); return this; }
/** * Sets the connectors. * * @param connectors * @return */ public WebServiceServerBuilder connectors(List<Connector> connectors) { endpoint.setConnectors(connectors.toArray(new Connector[connectors.size()])); return this; }