Package org.glassfish.grizzly.config.dom
Interface PortUnification
-
- All Superinterfaces:
ConfigBeanProxy
,PropertyBag
public interface PortUnification extends ConfigBeanProxy, PropertyBag
Defines logic of hosting several protocol on a single tcp port.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PortUnification.Duck
-
Field Summary
Fields Modifier and Type Field Description static boolean
STICKY_ENABLED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getClassname()
Port unification logic implementation classProtocol
getParent()
Returns the parent element of this configuration element.List<ProtocolFinder>
getProtocolFinder()
Set of protocol finders, which will be responsible for protocol recognitionString
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.void
setClassname(String value)
void
setProtocolFinder(List<ProtocolFinder> list)
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.-
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 Detail
-
STICKY_ENABLED
static final boolean STICKY_ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
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()
Description copied from interface:ConfigBeanProxy
Returns the parent element of this configuration element. It is possible to return a not null parent while the parent knows nothing of this child element. This could happen when the child element was removed from the configuration tree, yet it's parent would not have been reset.- Specified by:
getParent
in interfaceConfigBeanProxy
- Returns:
- the parent configuration node.
-
-