Class JettyExtensionConfig
java.lang.Object
org.eclipse.jetty.websocket.common.JettyExtensionConfig
- All Implemented Interfaces:
ExtensionConfig
Represents an Extension Configuration, as seen during the connection Handshake process.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.websocket.api.ExtensionConfig
ExtensionConfig.Parser
-
Constructor Summary
ConstructorDescriptionJettyExtensionConfig
(String parameterizedName) JettyExtensionConfig
(String name, Map<String, String> parameters) Copy constructorJettyExtensionConfig
(ExtensionConfig config) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
final int
getParameter
(String key, int defValue) final String
getParameter
(String key, String defValue) final String
Return parameters found in request URI.final void
setParameter
(String key) final void
setParameter
(String key, int value) final void
setParameter
(String key, String value) toString()
-
Constructor Details
-
JettyExtensionConfig
Copy constructor- Parameters:
copy
- the extension config to copy
-
JettyExtensionConfig
-
JettyExtensionConfig
-
JettyExtensionConfig
-
-
Method Details
-
getCoreConfig
-
getName
- Specified by:
getName
in interfaceExtensionConfig
-
getParameter
- Specified by:
getParameter
in interfaceExtensionConfig
-
getParameter
- Specified by:
getParameter
in interfaceExtensionConfig
-
getParameterizedName
- Specified by:
getParameterizedName
in interfaceExtensionConfig
-
getParameterKeys
- Specified by:
getParameterKeys
in interfaceExtensionConfig
-
getParameters
Return parameters found in request URI.- Specified by:
getParameters
in interfaceExtensionConfig
- Returns:
- the parameter map
-
setParameter
- Specified by:
setParameter
in interfaceExtensionConfig
-
setParameter
- Specified by:
setParameter
in interfaceExtensionConfig
-
setParameter
- Specified by:
setParameter
in interfaceExtensionConfig
-
toString
-