Interface ServerUpgradeResponse
- All Superinterfaces:
Content.Sink, Response
Upgrade response used for websocket negotiation.
Allows setting of extensions and subprotocol without using headers directly.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Response
Response.Wrapper -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtensions(List<ExtensionConfig> configs) voidremoveExtensions(List<ExtensionConfig> configs) voidsetAcceptedSubProtocol(String protocol) voidsetExtensions(List<ExtensionConfig> configs) Methods inherited from interface Response
getHeaders, getRequest, getStatus, getTrailersSupplier, hasLastWrite, isCommitted, isCompletedSuccessfully, reset, setStatus, setTrailersSupplier, write, writeInterim
-
Method Details
-
getAcceptedSubProtocol
String getAcceptedSubProtocol() -
setAcceptedSubProtocol
-
getExtensions
List<ExtensionConfig> getExtensions() -
addExtensions
-
removeExtensions
-
setExtensions
-