org.glassfish.grizzly.config.dom
Interface Protocol

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

public interface Protocol
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

Defines one single high-level protocol like: http, https, iiop, etc.


Nested Class Summary
static class Protocol.Duck
           
 
Field Summary
static boolean SECURITY_ENABLED
           
 
Method Summary
 List<NetworkListener> findNetworkListeners()
           
 Http getHttp()
          Defines any HTTP settings for this Protocol
 HttpRedirect getHttpRedirect()
          Defines http-redirect logic.
 String getName()
          Protocol name which could be used as reference
 Protocols getParent()
           
 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.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getProperty, getPropertyValue, getPropertyValue
 

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()
Defines http-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()
Specified by:
getParent in interface org.jvnet.hk2.config.ConfigBeanProxy


Copyright © 2013 Oracle Corporation. All Rights Reserved.