Package org.glassfish.grizzly.config.dom
Interface ProtocolChain
-
- All Superinterfaces:
ConfigBeanProxy
,PropertyBag
public interface ProtocolChain extends ConfigBeanProxy, PropertyBag
Defines the type of protocol chain and describes protocol filters, which will participate in request processing
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ProtocolChain.Duck
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE
static String
TYPE_PATTERN
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getClassname()
Protocol chain instance handler implementation classProtocol
getParent()
Returns the parent element of this configuration element.List<ProtocolFilter>
getProtocolFilter()
Defines protocol filter sequence, which will process a request.@Pattern(regexp="STATELESS|STATEFUL") String
getType()
Protocol chain type.void
setClassname(String value)
void
setProtocolFilter(List<ProtocolFilter> list)
void
setType(String 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
-
TYPE
static final String TYPE
- See Also:
- Constant Field Values
-
TYPE_PATTERN
static final String TYPE_PATTERN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getClassname
String getClassname()
Protocol chain instance handler implementation class
-
setClassname
void setClassname(String value)
-
getType
@Pattern(regexp="STATELESS|STATEFUL") @Pattern(regexp="STATELESS|STATEFUL") String getType()
Protocol chain type. Could be STATEFUL or STATELESS
-
setType
void setType(String value)
-
getProtocolFilter
List<ProtocolFilter> getProtocolFilter()
Defines protocol filter sequence, which will process a request.
-
setProtocolFilter
void setProtocolFilter(List<ProtocolFilter> list)
-
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.
-
-