public final class TieHandler extends Object implements EndpointCallBridge
This class mainly performs the following two tasks:
Message
that represents a request,
and extracts the arguments (and updates Holder
s.)
Holder
arguments for a Java method,
and creates JAXBMessage
that represents a response message.
JAXBMessage
At the construction time, we prepare EndpointArgumentsBuilder
that knows how to create endpoint Method
invocation arguments.
we also prepare EndpointResponseMessageBuilder
and MessageFiller
s
that know how to move arguments into a Message
.
Some arguments go to the payload, some go to headers, still others go to attachments.
Modifier and Type | Field and Description |
---|---|
protected com.sun.xml.ws.api.message.MessageContextFactory |
packetFactory |
Constructor and Description |
---|
TieHandler(JavaMethodImpl method,
WSBinding binding,
com.sun.xml.ws.api.message.MessageContextFactory mcf) |
Modifier and Type | Method and Description |
---|---|
com.sun.xml.ws.api.message.Message |
createResponse(JavaCallInfo call) |
JavaCallInfo |
deserializeRequest(com.sun.xml.ws.api.message.Packet req) |
Method |
getMethod() |
JavaMethod |
getOperationModel() |
Object[] |
readRequest(com.sun.xml.ws.api.message.Message reqMsg) |
com.sun.xml.ws.api.message.Packet |
serializeResponse(JavaCallInfo call) |
public TieHandler(JavaMethodImpl method, WSBinding binding, com.sun.xml.ws.api.message.MessageContextFactory mcf)
public Object[] readRequest(com.sun.xml.ws.api.message.Message reqMsg)
public com.sun.xml.ws.api.message.Message createResponse(JavaCallInfo call)
public Method getMethod()
public JavaCallInfo deserializeRequest(com.sun.xml.ws.api.message.Packet req)
deserializeRequest
in interface EndpointCallBridge
public com.sun.xml.ws.api.message.Packet serializeResponse(JavaCallInfo call)
serializeResponse
in interface EndpointCallBridge
public JavaMethod getOperationModel()
getOperationModel
in interface EndpointCallBridge
Copyright © 2015 Oracle Corporation. All rights reserved.