com.sun.xml.ws.server.sei
Class SOAPActionBasedDispatcher

java.lang.Object
  extended by com.sun.xml.ws.server.sei.SOAPActionBasedDispatcher
All Implemented Interfaces:
EndpointMethodDispatcher

final class SOAPActionBasedDispatcher
extends Object
implements EndpointMethodDispatcher

An EndpointMethodDispatcher that uses SOAPAction as the key for dispatching.

A map of all SOAPAction on the port and the corresponding EndpointMethodHandler is initialized in the constructor. The SOAPAction from the request Packet is used as the key to return the correct handler.


Constructor Summary
SOAPActionBasedDispatcher(AbstractSEIModelImpl model, WSBinding binding, SEIInvokerTube invokerTube)
           
 
Method Summary
 EndpointMethodHandler getEndpointMethodHandler(Packet request)
          Returns the EndpointMethodHandler for the request Packet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPActionBasedDispatcher

public SOAPActionBasedDispatcher(AbstractSEIModelImpl model,
                                 WSBinding binding,
                                 SEIInvokerTube invokerTube)
Method Detail

getEndpointMethodHandler

@Nullable
public EndpointMethodHandler getEndpointMethodHandler(Packet request)
Description copied from interface: EndpointMethodDispatcher
Returns the EndpointMethodHandler for the request Packet.

Specified by:
getEndpointMethodHandler in interface EndpointMethodDispatcher
Parameters:
request - request packet
Returns:
non-null EndpointMethodHandler that will route the request packet. null to indicate that the request packet be processed by the next available EndpointMethodDispatcher.