Interface ServerUpgradeRequest
- All Superinterfaces:
Attributes, Content.Source, Request
The HTTP request to upgrade to WebSocket.
An instance of this class is given as a parameter to a
WebSocketCreator, so that applications can interact
with the request.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface Attributes
Attributes.Layer, Attributes.Lazy, Attributes.Mapped, Attributes.SyntheticNested classes/interfaces inherited from interface Content.Source
Content.Source.FactoryNested classes/interfaces inherited from interface Request
Request.AttributesWrapper, Request.AuthenticationState, Request.Handler, Request.ServeAs, Request.Wrapper -
Field Summary
Fields inherited from interface Attributes
NULLFields inherited from interface Request
COOKIE_ATTRIBUTE, DEFAULT_LOCALES, LOG -
Method Summary
Methods inherited from interface Attributes
asAttributeMap, clearAttributes, equals, getAttribute, getAttributeNameSet, hashCode, removeAttribute, setAttributeMethods inherited from interface Content.Source
fail, fail, getLength, rewindMethods inherited from interface Request
addFailureListener, addHttpStreamWrapper, addIdleTimeoutListener, consumeAvailable, demand, getBeginNanoTime, getComponents, getConnectionMetaData, getContext, getHeaders, getHeadersNanoTime, getHttpURI, getId, getMethod, getSession, getTrailers, getTunnelSupport, isSecure, push, read
-
Method Details
-
getExtensions
List<ExtensionConfig> getExtensions()- Returns:
- the list of extensions provided by the client
-
getSubProtocols
-
hasSubProtocol
- Parameters:
subProtocol- the sub-protocol to search- Returns:
- whether this request contains the given sub-protocol
-