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 class
Protocol.Duck
-
Field Summary
Fields Modifier and Type Field Description static boolean
SECURITY_ENABLED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<NetworkListener>
findNetworkListeners()
Http
getHttp()
Defines any HTTP settings for this ProtocolHttpRedirect
getHttpRedirect()
Defineshttp-redirect
logic.String
getName()
Protocol name which could be used as referenceProtocols
getParent()
Returns the parent element of this configuration element.PortUnification
getPortUnification()
Defines port-unification logic.ProtocolChainInstanceHandler
getProtocolChainInstanceHandler()
Protocol chain instance handler logic.String
getSecurityEnabled()
True means the protocol is secured and ssl element will be used to initialize security settings.Ssl
getSsl()
Protocol security (ssl) configuration.void
setHttp(Http value)
void
setHttpRedirect(HttpRedirect value)
void
setName(String value)
void
setPortUnification(PortUnification value)
void
setProtocolChainInstanceHandler(ProtocolChainInstanceHandler value)
void
setSecurityEnabled(String value)
void
setSsl(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-redirect
logic.
-
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: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.
-
-