| org.apache.servicemix.common.endpoints.ConsumerEndpoint org.apache.servicemix.http.endpoints.HttpConsumerEndpoint
All known Subclasses: org.apache.servicemix.http.endpoints.HttpSoapConsumerEndpoint,
HttpConsumerEndpoint | public class HttpConsumerEndpoint extends ConsumerEndpoint implements HttpProcessor,HttpEndpointType(Code) | | Plain HTTP consumer endpoint. This endpoint can be used to handle plain HTTP request (without SOAP) or to be able to
process the request in a non standard way. For HTTP requests, a WSDL2 HTTP binding can be used.
author: gnodet since: 3.2 |
Method Summary | |
protected void | addResource(String path, Object resource) | public MessageExchange | createExchange(HttpServletRequest request) | public String | getAuthMethod() | public URI | getDefaultMep() | public String | getLocationURI() | public HttpConsumerMarshaler | getMarshaler() | protected Object | getResource(String path) | protected ContextManager | getServerManager() | public SslParameters | getSsl() | public long | getTimeout() | protected boolean | handleStaticResource(HttpServletRequest request, HttpServletResponse response) | protected void | loadStaticResources() | public void | process(MessageExchange exchange) | public void | process(HttpServletRequest request, HttpServletResponse response) | public void | sendAccepted(MessageExchange exchange, HttpServletRequest request, HttpServletResponse response) | public void | sendError(MessageExchange exchange, Exception error, HttpServletRequest request, HttpServletResponse response) | public void | sendFault(MessageExchange exchange, Fault fault, HttpServletRequest request, HttpServletResponse response) | public void | sendOut(MessageExchange exchange, NormalizedMessage outMsg, HttpServletRequest request, HttpServletResponse response) | public void | setAuthMethod(String authMethod) | public void | setDefaultMep(URI defaultMep) | public void | setLocationURI(String locationURI) | public void | setMarshaler(HttpConsumerMarshaler marshaler) | public void | setSsl(SslParameters ssl) | public void | setTimeout(long timeout) | public void | start() | public void | stop() | public void | validate() |
HttpConsumerEndpoint | public HttpConsumerEndpoint()(Code) | | |
getAuthMethod | public String getAuthMethod()(Code) | | the authMethod |
getDefaultMep | public URI getDefaultMep()(Code) | | defaultMep of the endpoint |
getLocationURI | public String getLocationURI()(Code) | | the locationUri |
getTimeout | public long getTimeout()(Code) | | the timeout |
loadStaticResources | protected void loadStaticResources()(Code) | | |
setAuthMethod | public void setAuthMethod(String authMethod)(Code) | | Parameters: authMethod - the authMethod to set |
setDefaultMep | public void setDefaultMep(URI defaultMep)(Code) | | Parameters: defaultMep - -defaultMep of the endpoint |
setLocationURI | public void setLocationURI(String locationURI)(Code) | | Parameters: locationURI - the locationUri to set |
setTimeout | public void setTimeout(long timeout)(Code) | | Parameters: timeout - the timeout to set |
|
|