Package org.glassfish.grizzly.config.dom
Interface ProtocolFinder
-
- All Superinterfaces:
ConfigBeanProxy,PropertyBag
public interface ProtocolFinder extends ConfigBeanProxy, PropertyBag
Describes a protocol finder/recognizer, which is able to recognize whether incoming request belongs to the specific protocol or not. If yes - protocol-finder forwards request processing to a specific protocol.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProtocolFinder.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProtocolfindProtocol()StringgetClassname()Finder logic implementation classStringgetName()Finder name, which could be used as referencePortUnificationgetParent()Returns the parent element of this configuration element.StringgetProtocol()Reference to a protocol, which was defined before.voidsetClassname(String value)voidsetName(String value)voidsetProtocol(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
-
-
-
-
Method Detail
-
getName
String getName()
Finder name, which could be used as reference
-
setName
void setName(String value)
-
getProtocol
String getProtocol()
Reference to a protocol, which was defined before.
-
setProtocol
void setProtocol(String value)
-
getClassname
String getClassname()
Finder logic implementation class
-
setClassname
void setClassname(String value)
-
findProtocol
@DuckTyped Protocol findProtocol()
-
getParent
@DuckTyped PortUnification 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.
-
-