Package io.undertow.websockets.vertx
Class VertxWebSocketHttpExchange
java.lang.Object
io.undertow.websockets.vertx.VertxWebSocketHttpExchange
- All Implemented Interfaces:
io.undertow.websockets.handshake.WebSocketHttpExchange,Closeable,AutoCloseable
public class VertxWebSocketHttpExchange
extends Object
implements io.undertow.websockets.handshake.WebSocketHttpExchange
- Author:
- Stuart Douglas
-
Constructor Summary
ConstructorsConstructorDescriptionVertxWebSocketHttpExchange(Executor executor, io.vertx.ext.web.RoutingContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()void<T> TgetAttachment(String key) getRequestHeader(CharSequence headerName) getResponseHeader(CharSequence headerName) booleanisUserInRole(String role) <T> voidputAttachment(String key, T value) voidsetResponseHeader(CharSequence headerName, String headerValue) voidsetResponseHeaders(Map<String, List<String>> headers) voidupgradeChannel(Consumer<Object> listener)
-
Constructor Details
-
VertxWebSocketHttpExchange
-
-
Method Details
-
putAttachment
- Specified by:
putAttachmentin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
getAttachment
- Specified by:
getAttachmentin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
getRequestHeader
- Specified by:
getRequestHeaderin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
getRequestHeaders
- Specified by:
getRequestHeadersin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
getResponseHeader
- Specified by:
getResponseHeaderin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
getResponseHeaders
- Specified by:
getResponseHeadersin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
setResponseHeaders
- Specified by:
setResponseHeadersin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
setResponseHeader
- Specified by:
setResponseHeaderin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
upgradeChannel
- Specified by:
upgradeChannelin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
endExchange
public void endExchange()- Specified by:
endExchangein interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
getRequestScheme
- Specified by:
getRequestSchemein interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
getRequestURI
- Specified by:
getRequestURIin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
getQueryString
- Specified by:
getQueryStringin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
getSession
- Specified by:
getSessionin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
getRequestParameters
- Specified by:
getRequestParametersin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
getUserPrincipal
- Specified by:
getUserPrincipalin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
isUserInRole
- Specified by:
isUserInRolein interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-
getExecutor
- Specified by:
getExecutorin interfaceio.undertow.websockets.handshake.WebSocketHttpExchange
-