public abstract class AbstractInDatabindingInterceptor extends AbstractPhaseInterceptor<Message>
Modifier and Type | Field and Description |
---|---|
static String |
NO_VALIDATE_PARTS |
Constructor and Description |
---|
AbstractInDatabindingInterceptor(String phase) |
AbstractInDatabindingInterceptor(String i,
String phase) |
Modifier and Type | Method and Description |
---|---|
protected MessagePartInfo |
findMessagePart(Exchange exchange,
Collection<OperationInfo> operations,
QName name,
boolean client,
int index,
Message message)
Find the next possible message part in the message.
|
protected BindingOperationInfo |
getBindingOperationInfo(Exchange exchange,
QName name,
boolean client)
Returns a BindingOperationInfo if the operation is indentified as
a wrapped method, return null if it is not a wrapped method
(i.e., it is a bare method)
|
protected DataReader<XMLStreamReader> |
getDataReader(Message message) |
protected <T> DataReader<T> |
getDataReader(Message message,
Class<T> input) |
protected MessageInfo |
getMessageInfo(Message message,
BindingOperationInfo operation) |
protected MessageInfo |
getMessageInfo(Message message,
BindingOperationInfo operation,
boolean requestor) |
protected DataReader<Node> |
getNodeDataReader(Message message) |
protected DepthXMLStreamReader |
getXMLStreamReader(Message message) |
protected void |
setDataReaderValidation(Service service,
Message message,
DataReader<?> reader)
Based on the Schema Validation configuration, will initialise the
DataReader with or without the schema set.
|
protected MessageInfo |
setMessage(Message message,
BindingOperationInfo operation,
boolean requestor,
ServiceInfo si,
MessageInfo msgInfo) |
protected void |
setOperationSchemaValidation(Message message) |
protected boolean |
shouldValidate(Message message) |
protected boolean |
supportsDataReader(Message message,
Class<?> input) |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleMessage
public static final String NO_VALIDATE_PARTS
public AbstractInDatabindingInterceptor(String phase)
protected <T> DataReader<T> getDataReader(Message message, Class<T> input)
protected DataReader<XMLStreamReader> getDataReader(Message message)
protected DataReader<Node> getNodeDataReader(Message message)
protected boolean shouldValidate(Message message)
protected void setDataReaderValidation(Service service, Message message, DataReader<?> reader)
protected void setOperationSchemaValidation(Message message)
protected DepthXMLStreamReader getXMLStreamReader(Message message)
protected MessagePartInfo findMessagePart(Exchange exchange, Collection<OperationInfo> operations, QName name, boolean client, int index, Message message)
exchange
- operations
- name
- client
- index
- protected MessageInfo setMessage(Message message, BindingOperationInfo operation, boolean requestor, ServiceInfo si, MessageInfo msgInfo)
protected BindingOperationInfo getBindingOperationInfo(Exchange exchange, QName name, boolean client)
exchange
- name
- client
- protected MessageInfo getMessageInfo(Message message, BindingOperationInfo operation)
protected MessageInfo getMessageInfo(Message message, BindingOperationInfo operation, boolean requestor)
Apache CXF