|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.fastinfoset.FastInfosetMessageFormatter
public class FastInfosetMessageFormatter
Constructor Summary | |
---|---|
FastInfosetMessageFormatter()
|
Method Summary | |
---|---|
java.lang.String |
formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
Fast Infoset message formatter doesn't need to handle SOAP. |
byte[] |
getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format)
Retrieves the raw bytes from the SOAP envelop. |
java.lang.String |
getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
Returns the content type |
java.net.URL |
getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.net.URL targetURL)
Returns the target address to send the response FIXME This is very HTTP specific. |
void |
writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.io.OutputStream outputStream,
boolean preserve)
Write the SOAP envelop to the given OutputStream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FastInfosetMessageFormatter()
Method Detail |
---|
public java.lang.String formatSOAPAction(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, java.lang.String soapAction)
formatSOAPAction
in interface MessageFormatter
MessageFormatter.formatSOAPAction(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.lang.String)
public byte[] getBytes(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format) throws AxisFault
getBytes
in interface MessageFormatter
AxisFault
MessageFormatter.getBytes(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat)
public java.lang.String getContentType(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, java.lang.String soapAction)
getContentType
in interface MessageFormatter
MessageFormatter.getContentType(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.lang.String)
public java.net.URL getTargetAddress(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, java.net.URL targetURL) throws AxisFault
getTargetAddress
in interface MessageFormatter
AxisFault
MessageFormatter.getTargetAddress(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.net.URL)
public void writeTo(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, java.io.OutputStream outputStream, boolean preserve) throws AxisFault
writeTo
in interface MessageFormatter
preserve
- :
do not consume the OM when this is set..
AxisFault
MessageFormatter.writeTo(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.io.OutputStream, boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |