Package org.glassfish.grizzly.config.dom
Interface Protocol
-
- All Superinterfaces:
ConfigBeanProxy,PropertyBag
public interface Protocol extends ConfigBeanProxy, PropertyBag
Defines one single high-level protocol like: http, https, iiop, etc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProtocol.Duck
-
Field Summary
Fields Modifier and Type Field Description static booleanSECURITY_ENABLED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<NetworkListener>findNetworkListeners()HttpgetHttp()Defines any HTTP settings for this ProtocolHttpRedirectgetHttpRedirect()Defineshttp-redirectlogic.StringgetName()Protocol name which could be used as referenceProtocolsgetParent()Returns the parent element of this configuration element.PortUnificationgetPortUnification()Defines port-unification logic.ProtocolChainInstanceHandlergetProtocolChainInstanceHandler()Protocol chain instance handler logic.StringgetSecurityEnabled()True means the protocol is secured and ssl element will be used to initialize security settings.SslgetSsl()Protocol security (ssl) configuration.voidsetHttp(Http value)voidsetHttpRedirect(HttpRedirect value)voidsetName(String value)voidsetPortUnification(PortUnification value)voidsetProtocolChainInstanceHandler(ProtocolChainInstanceHandler value)voidsetSecurityEnabled(String value)voidsetSsl(Ssl value)-
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
-
SECURITY_ENABLED
static final boolean SECURITY_ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHttp
Http getHttp()
Defines any HTTP settings for this Protocol
-
setHttp
void setHttp(Http value)
-
getName
String getName()
Protocol name which could be used as reference
-
setName
void setName(String value)
-
getPortUnification
PortUnification getPortUnification()
Defines port-unification logic. If it is required to handle more than one high level protocol on a single network-listener.
-
setPortUnification
void setPortUnification(PortUnification value)
-
getHttpRedirect
HttpRedirect getHttpRedirect()
Defineshttp-redirectlogic.
-
setHttpRedirect
void setHttpRedirect(HttpRedirect value)
-
getProtocolChainInstanceHandler
ProtocolChainInstanceHandler getProtocolChainInstanceHandler()
Protocol chain instance handler logic.
-
setProtocolChainInstanceHandler
void setProtocolChainInstanceHandler(ProtocolChainInstanceHandler value)
-
getSecurityEnabled
String getSecurityEnabled()
True means the protocol is secured and ssl element will be used to initialize security settings. False means that protocol is not secured and ssl element, if present, will be ignored.
-
setSecurityEnabled
void setSecurityEnabled(String value)
-
getSsl
Ssl getSsl()
Protocol security (ssl) configuration.
-
setSsl
void setSsl(Ssl value)
-
findNetworkListeners
@DuckTyped List<NetworkListener> findNetworkListeners()
-
getParent
@DuckTyped Protocols getParent()
Description copied from interface:ConfigBeanProxyReturns 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:
getParentin interfaceConfigBeanProxy- Returns:
- the parent configuration node.
-
-