public final class TieHandler extends Object implements EndpointCallBridge
This class mainly performs the following two tasks:
At the construction time, we prepare {@link EndpointArgumentsBuilder} that knows how to create endpoint {@link Method} invocation arguments. we also prepare {@link EndpointResponseMessageBuilder} and {@link MessageFiller}s that know how to move arguments into a {@link Message}. Some arguments go to the payload, some go to headers, still others go to attachments.
Modifier and Type | Field and Description |
---|---|
protected MessageContextFactory |
packetFactory |
Constructor and Description |
---|
TieHandler(JavaMethodImpl method,
WSBinding binding,
MessageContextFactory mcf) |
Modifier and Type | Method and Description |
---|---|
Message |
createResponse(JavaCallInfo call) |
JavaCallInfo |
deserializeRequest(Packet req) |
Method |
getMethod() |
JavaMethod |
getOperationModel() |
(package private) Throwable |
getServiceException(Throwable throwable) |
Object[] |
readRequest(Message reqMsg) |
Packet |
serializeResponse(JavaCallInfo call) |
protected MessageContextFactory packetFactory
public TieHandler(JavaMethodImpl method, WSBinding binding, MessageContextFactory mcf)
public Message createResponse(JavaCallInfo call)
public Method getMethod()
public JavaCallInfo deserializeRequest(Packet req)
deserializeRequest
in interface EndpointCallBridge
public Packet serializeResponse(JavaCallInfo call)
serializeResponse
in interface EndpointCallBridge
public JavaMethod getOperationModel()
getOperationModel
in interface EndpointCallBridge
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.