T
- parameter typepublic static final class WebSocketExtension.Parameter<T> extends Object
WebSocketExtension.Parameter
represents an extension parameter.Modifier and Type | Class and Description |
---|---|
static class |
WebSocketExtension.Parameter.Metadata |
Constructor and Description |
---|
WebSocketExtension.Parameter(WebSocketExtension parent,
String name,
Class<T> type,
EnumSet<WebSocketExtension.Parameter.Metadata> metadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
anonymous()
Indicates whether the parameter is anonymous or named.
|
WebSocketExtension |
extension()
Returns the parent
WebSocketExtension that this parameter is
defined in. |
EnumSet<WebSocketExtension.Parameter.Metadata> |
metadata()
Returns the metadata characteristics of this extension parameter.
|
String |
name()
Returns the name of the parameter.
|
boolean |
required()
Indicates whether the parameter is required.
|
boolean |
temporal()
Indicates whether the parameter is temporal/transient.
|
Class<T> |
type()
Returns the type of the parameter.
|
public WebSocketExtension.Parameter(WebSocketExtension parent, String name, Class<T> type, EnumSet<WebSocketExtension.Parameter.Metadata> metadata)
public WebSocketExtension extension()
WebSocketExtension
that this parameter is
defined in.public boolean anonymous()
public EnumSet<WebSocketExtension.Parameter.Metadata> metadata()
public String name()
public boolean required()
public boolean temporal()
Copyright © 2014. All Rights Reserved.