org.apache.servicemix.http.endpoints
Class DefaultHttpConsumerMarshaler
java.lang.Object
org.apache.servicemix.http.endpoints.DefaultHttpConsumerMarshaler
- All Implemented Interfaces:
- HttpConsumerMarshaler
- Direct Known Subclasses:
- SerializedMarshaler
public class DefaultHttpConsumerMarshaler
- extends Object
- implements HttpConsumerMarshaler
The default consumer marshaler used for non-soap consumer endpoints.
- Since:
- 3.2
- Author:
- gnodet
|
Method Summary |
javax.jbi.messaging.MessageExchange |
createExchange(HttpServletRequest request,
javax.jbi.component.ComponentContext context)
|
URI |
getDefaultMep()
|
void |
sendAccepted(javax.jbi.messaging.MessageExchange exchange,
HttpServletRequest request,
HttpServletResponse response)
|
void |
sendError(javax.jbi.messaging.MessageExchange exchange,
Exception error,
HttpServletRequest request,
HttpServletResponse response)
|
void |
sendFault(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.Fault fault,
HttpServletRequest request,
HttpServletResponse response)
|
void |
sendOut(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage outMsg,
HttpServletRequest request,
HttpServletResponse response)
|
void |
setDefaultMep(URI defaultMep)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHttpConsumerMarshaler
public DefaultHttpConsumerMarshaler()
DefaultHttpConsumerMarshaler
public DefaultHttpConsumerMarshaler(URI defaultMep)
getDefaultMep
public URI getDefaultMep()
setDefaultMep
public void setDefaultMep(URI defaultMep)
createExchange
public javax.jbi.messaging.MessageExchange createExchange(HttpServletRequest request,
javax.jbi.component.ComponentContext context)
throws Exception
- Specified by:
createExchange in interface HttpConsumerMarshaler
- Throws:
Exception
sendOut
public void sendOut(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage outMsg,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Specified by:
sendOut in interface HttpConsumerMarshaler
- Throws:
Exception
sendFault
public void sendFault(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.Fault fault,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Specified by:
sendFault in interface HttpConsumerMarshaler
- Throws:
Exception
sendError
public void sendError(javax.jbi.messaging.MessageExchange exchange,
Exception error,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Specified by:
sendError in interface HttpConsumerMarshaler
- Throws:
Exception
sendAccepted
public void sendAccepted(javax.jbi.messaging.MessageExchange exchange,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Specified by:
sendAccepted in interface HttpConsumerMarshaler
- Throws:
Exception
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.