Package com.sun.xml.ws.server.sei
Class TieHandler
- java.lang.Object
-
- com.sun.xml.ws.server.sei.TieHandler
-
- All Implemented Interfaces:
EndpointCallBridge
public final class TieHandler extends Object implements EndpointCallBridge
This class mainly performs the following two tasks:
- Takes a
Messagethat represents a request, and extracts the arguments (and updatesHolders.) - Accepts return value and
Holderarguments for a Java method, and createsJAXBMessagethat represents a response message.
Creating
JAXBMessageAt the construction time, we prepare
EndpointArgumentsBuilderthat knows how to create endpointMethodinvocation arguments. we also prepareEndpointResponseMessageBuilderandMessageFillers that know how to move arguments into aMessage. Some arguments go to the payload, some go to headers, still others go to attachments.- Author:
- Jitendra Kotamraju, shih-chang.chen@oracle.com Refactored from EndpointMethodHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected MessageContextFactorypacketFactory
-
Constructor Summary
Constructors Constructor Description TieHandler(JavaMethodImpl method, WSBinding binding, MessageContextFactory mcf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagecreateResponse(JavaCallInfo call)JavaCallInfodeserializeRequest(Packet req)MethodgetMethod()JavaMethodgetOperationModel()Object[]readRequest(Message reqMsg)PacketserializeResponse(JavaCallInfo call)
-
-
-
Field Detail
-
packetFactory
protected MessageContextFactory packetFactory
-
-
Constructor Detail
-
TieHandler
public TieHandler(JavaMethodImpl method, WSBinding binding, MessageContextFactory mcf)
-
-
Method Detail
-
createResponse
public Message createResponse(JavaCallInfo call)
-
getMethod
public Method getMethod()
-
deserializeRequest
public JavaCallInfo deserializeRequest(Packet req)
- Specified by:
deserializeRequestin interfaceEndpointCallBridge
-
serializeResponse
public Packet serializeResponse(JavaCallInfo call)
- Specified by:
serializeResponsein interfaceEndpointCallBridge
-
getOperationModel
public JavaMethod getOperationModel()
- Specified by:
getOperationModelin interfaceEndpointCallBridge
-
-