Class ServerUpgradeRequestDelegate
java.lang.Object
org.eclipse.jetty.server.Request.Wrapper
org.eclipse.jetty.websocket.server.internal.ServerUpgradeRequestDelegate
- All Implemented Interfaces:
Content.Source,Request,Attributes,ServerUpgradeRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes
Attributes.Layer, Attributes.Lazy, Attributes.Mapped, Attributes.SyntheticNested classes/interfaces inherited from interface org.eclipse.jetty.server.Request
Request.AttributesWrapper, Request.AuthenticationState, Request.Handler, Request.ServeAs, Request.Wrapper -
Field Summary
Fields inherited from interface org.eclipse.jetty.util.Attributes
NULLFields inherited from interface org.eclipse.jetty.server.Request
COOKIE_ATTRIBUTE, DEFAULT_LOCALES, LOG -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.jetty.server.Request.Wrapper
addFailureListener, addHttpStreamWrapper, addIdleTimeoutListener, asAttributeMap, clearAttributes, consumeAvailable, demand, fail, getAttribute, getAttributeNameSet, getBeginNanoTime, getComponents, getConnectionMetaData, getContext, getHeaders, getHeadersNanoTime, getHttpURI, getId, getLength, getMethod, getSession, getTrailers, getTunnelSupport, isSecure, push, read, removeAttribute, setAttribute, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.Attributes
asAttributeMap, clearAttributes, equals, getAttribute, getAttributeNameSet, hashCode, removeAttribute, setAttributeMethods inherited from interface org.eclipse.jetty.io.Content.Source
fail, fail, getLength, rewindMethods inherited from interface org.eclipse.jetty.server.Request
addFailureListener, addHttpStreamWrapper, addIdleTimeoutListener, consumeAvailable, demand, getBeginNanoTime, getComponents, getConnectionMetaData, getContext, getHeaders, getHeadersNanoTime, getHttpURI, getId, getMethod, getSession, getTrailers, getTunnelSupport, isSecure, push, read
-
Constructor Details
-
ServerUpgradeRequestDelegate
-
-
Method Details
-
getWrapped
- Overrides:
getWrappedin classRequest.Wrapper
-
getExtensions
- Specified by:
getExtensionsin interfaceServerUpgradeRequest- Returns:
- the list of extensions provided by the client
-
getSubProtocols
- Specified by:
getSubProtocolsin interfaceServerUpgradeRequest- Returns:
- the list of sub-protocols provided by the client
-
hasSubProtocol
- Specified by:
hasSubProtocolin interfaceServerUpgradeRequest- Parameters:
subProtocol- the sub-protocol to search- Returns:
- whether this request contains the given sub-protocol
-