Class WSTCPProtocolFinder

java.lang.Object
com.sun.xml.ws.transport.tcp.grizzly.WSTCPProtocolFinder
All Implemented Interfaces:
org.glassfish.grizzly.portunif.ProtocolFinder

public final class WSTCPProtocolFinder extends Object implements org.glassfish.grizzly.portunif.ProtocolFinder
A ProtocolFinder implementation that parse the available SocketChannel bytes looking for the PROTOCOL_ID bytes. An SOAP/TCP request will always start with: vnd.sun.ws.tcp This object shoudn't be called by several threads simultaneously.
Author:
Jeanfrancois Arcand, Alexey Stashok
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.glassfish.grizzly.portunif.ProtocolFinder

    org.glassfish.grizzly.portunif.ProtocolFinder.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.glassfish.grizzly.portunif.ProtocolFinder.Result
    find(org.glassfish.grizzly.portunif.PUContext puContext, org.glassfish.grizzly.filterchain.FilterChainContext ctx)
    Try to find the protocol from the SocketChannel bytes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WSTCPProtocolFinder

      public WSTCPProtocolFinder()
  • Method Details

    • find

      public org.glassfish.grizzly.portunif.ProtocolFinder.Result find(org.glassfish.grizzly.portunif.PUContext puContext, org.glassfish.grizzly.filterchain.FilterChainContext ctx)
      Try to find the protocol from the SocketChannel bytes.
      Specified by:
      find in interface org.glassfish.grizzly.portunif.ProtocolFinder
      Parameters:
      puContext -
      ctx - filter chain context
      Returns:
      ProtocolInfo The ProtocolInfo that contains the information about the current protocol.