|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.binding.soap.listener.incoming.RequestProcessor
org.ow2.petals.binding.soap.listener.incoming.RESTProcessor
public class RESTProcessor
REST service processor.
| Field Summary |
|---|
| Fields inherited from class org.ow2.petals.binding.soap.listener.incoming.RequestProcessor |
|---|
channel, component, exchangeFactory, logger |
| Constructor Summary | |
|---|---|
RESTProcessor(org.ow2.petals.component.framework.AbstractComponent component,
javax.jbi.messaging.DeliveryChannel channel,
java.util.logging.Logger log)
|
|
| Method Summary | |
|---|---|
protected org.apache.axiom.soap.SOAPEnvelope |
createEnvelopeFromGet(org.apache.axis2.context.MessageContext inContext,
javax.xml.namespace.QName operation,
java.lang.String nsUri,
java.lang.String nsPrefix,
org.apache.axiom.soap.SOAPFactory factory)
Create a SOAPEnvelope from the REST URI. |
protected org.apache.axiom.soap.SOAPEnvelope |
createEnvelopeFromPost(org.apache.axis2.context.MessageContext inContext,
java.lang.String nsUri,
java.lang.String nsPrefix,
org.apache.axiom.soap.SOAPFactory factory)
Create the SOAP Envelope from the incoming one. |
protected javax.xml.namespace.QName |
getJBIOperationFromURL(org.apache.axis2.context.MessageContext inContext)
Get an operation from the REST URI. |
protected java.lang.String |
getProcessorName()
Get the processor name. |
protected org.apache.axis2.context.MessageContext |
process(org.apache.axis2.context.MessageContext inContext,
org.apache.axiom.soap.SOAPFactory factory)
Process the request |
protected org.apache.axis2.context.MessageContext |
processJBIResponse(javax.jbi.messaging.MessageExchange exchange,
org.apache.axis2.context.MessageContext inMessage,
org.apache.axiom.soap.SOAPFactory factory)
Process the JBI response. |
| Methods inherited from class org.ow2.petals.binding.soap.listener.incoming.RequestProcessor |
|---|
closeMessageExchange, createMessageExchange, createMessageExchange, createSecuritySubject, handleFault, handleResponseAttachments, isSecuredService, retrieveOperationFromSOAPBody |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RESTProcessor(org.ow2.petals.component.framework.AbstractComponent component,
javax.jbi.messaging.DeliveryChannel channel,
java.util.logging.Logger log)
component - channel - log - | Method Detail |
|---|
protected org.apache.axis2.context.MessageContext process(org.apache.axis2.context.MessageContext inContext,
org.apache.axiom.soap.SOAPFactory factory)
throws org.apache.axis2.AxisFault
RequestProcessor
process in class RequestProcessororg.apache.axis2.AxisFault
protected org.apache.axis2.context.MessageContext processJBIResponse(javax.jbi.messaging.MessageExchange exchange,
org.apache.axis2.context.MessageContext inMessage,
org.apache.axiom.soap.SOAPFactory factory)
throws org.apache.axis2.AxisFault
RequestProcessor
processJBIResponse in class RequestProcessorexchange - JBI responsefactory - soap factory used to create body response
org.apache.axis2.AxisFault - with ERROR JBI status, or problem while creating responseprotected javax.xml.namespace.QName getJBIOperationFromURL(org.apache.axis2.context.MessageContext inContext)
inContext -
protected org.apache.axiom.soap.SOAPEnvelope createEnvelopeFromPost(org.apache.axis2.context.MessageContext inContext,
java.lang.String nsUri,
java.lang.String nsPrefix,
org.apache.axiom.soap.SOAPFactory factory)
inContext - operation - nsUri - nsPrefix - factory -
protected org.apache.axiom.soap.SOAPEnvelope createEnvelopeFromGet(org.apache.axis2.context.MessageContext inContext,
javax.xml.namespace.QName operation,
java.lang.String nsUri,
java.lang.String nsPrefix,
org.apache.axiom.soap.SOAPFactory factory)
factory - inContext - operation -
protected java.lang.String getProcessorName()
RequestProcessor
getProcessorName in class RequestProcessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||