Package org.glassfish.grizzly.config.dom
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 -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionPort unification logic implementation classSet of protocol finders, which will be responsible for protocol recognitionIf 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.voidsetClassname(String value) voidsetProtocolFinder(List<ProtocolFinder> list) voidsetStickyProtocolEnabled(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.Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParentMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Field Details
-
STICKY_ENABLED
static final boolean STICKY_ENABLED- See Also:
-
-
Method Details
-
getClassname
String getClassname()Port unification logic implementation class -
setClassname
-
getProtocolFinder
List<ProtocolFinder> getProtocolFinder()Set of protocol finders, which will be responsible for protocol recognition -
setProtocolFinder
-
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
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
- Specified by:
getParentin interfaceorg.jvnet.hk2.config.ConfigBeanProxy
-