Interface PortUnification

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag

public interface PortUnification extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag
Defines logic of hosting several protocol on a single tcp port.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final boolean
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Port unification logic implementation class
     
    Set of protocol finders, which will be responsible for protocol recognition
    If the data came on a network connection is recognized as HTTP packet and it is passed to a default Web protocol - then, if Web protocol sticky flag is enabled, the network connection gets associated with the Web protocol forever, and port unification finder will never be called again for this network connection.
    void
     
    void
     
    void
    If the data came on a network connection is recognized as HTTP packet and it is passed to a default Web protocol - then, if Web protocol sticky flag is enabled, the network connection gets associated with the Web protocol forever, and port unification finder will never be called again for this network connection.

    Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy

    createChild, deepCopy, getParent

    Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag

    addProperty, getProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
  • Field Details

  • Method Details

    • getClassname

      String getClassname()
      Port unification logic implementation class
    • setClassname

      void setClassname(String value)
    • getProtocolFinder

      List<ProtocolFinder> getProtocolFinder()
      Set of protocol finders, which will be responsible for protocol recognition
    • setProtocolFinder

      void setProtocolFinder(List<ProtocolFinder> list)
    • getWebProtocolStickyEnabled

      String getWebProtocolStickyEnabled()
      If the data came on a network connection is recognized as HTTP packet and it is passed to a default Web protocol - then, if Web protocol sticky flag is enabled, the network connection gets associated with the Web protocol forever, and port unification finder will never be called again for this network connection. If the web protocol sticky flag is false - then this time HTTP packet will be passed to a Web protocol, but next time for a next data on this connection - protocol finders will be called again to recognize the target protocol.
    • setStickyProtocolEnabled

      void setStickyProtocolEnabled(String enabled)
      If the data came on a network connection is recognized as HTTP packet and it is passed to a default Web protocol - then, if Web protocol sticky flag is enabled, the network connection gets associated with the Web protocol forever, and port unification finder will never be called again for this network connection. If the web protocol sticky flag is false - then this time HTTP packet will be passed to a Web protocol, but next time for a next data on this connection - protocol finders will be called again to recognize the target protocol.
    • getParent

      @DuckTyped Protocol getParent()
      Specified by:
      getParent in interface org.jvnet.hk2.config.ConfigBeanProxy