public class DeferredMessageBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FORCED_RELAY_FORMATTER |
static String |
RELAY_FORMATTERS_MAP |
Constructor and Description |
---|
DeferredMessageBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addBuilder(String contentType,
org.apache.axis2.builder.Builder builder) |
void |
addFormatter(String contentType,
org.apache.axis2.transport.MessageFormatter messageFormatter) |
static org.apache.axis2.builder.Builder |
createBuilder(String className) |
static org.apache.axis2.transport.MessageFormatter |
createFormatter(String className) |
Map<String,org.apache.axis2.builder.Builder> |
getBuilders() |
static String |
getContentType(String contentType,
org.apache.axis2.context.MessageContext msgContext)
This method is from org.apache.axis2.transport.TransportUtils - it was hack placed in Axis2 Transport to enable
responses with text/xml to be processed using the ApplicationXMLBuilder (which is technically wrong, it should be
the duty of the backend service to send the correct content type, which makes the most sense (refer RFC 1049),
alas, tis not the way of the World).
|
org.apache.axiom.om.OMElement |
getDocument(org.apache.axis2.context.MessageContext msgCtx,
InputStream in) |
Map<String,org.apache.axis2.transport.MessageFormatter> |
getFormatters() |
public static final String RELAY_FORMATTERS_MAP
public static final String FORCED_RELAY_FORMATTER
public void addBuilder(String contentType, org.apache.axis2.builder.Builder builder)
public void addFormatter(String contentType, org.apache.axis2.transport.MessageFormatter messageFormatter)
public org.apache.axiom.om.OMElement getDocument(org.apache.axis2.context.MessageContext msgCtx, InputStream in) throws XMLStreamException, IOException
XMLStreamException
IOException
public static org.apache.axis2.builder.Builder createBuilder(String className) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public static org.apache.axis2.transport.MessageFormatter createFormatter(String className) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public static String getContentType(String contentType, org.apache.axis2.context.MessageContext msgContext)
contentType
- msgContext
- Copyright © 2005–2019 Apache Software Foundation. All rights reserved.