public abstract class GuacamoleWebSocketTunnelServlet
extends org.apache.catalina.websocket.WebSocketServlet
Constructor and Description |
---|
GuacamoleWebSocketTunnelServlet() |
Modifier and Type | Method and Description |
---|---|
static void |
closeConnection(org.apache.catalina.websocket.WsOutbound outbound,
GuacamoleStatus guac_status)
Sends the given status on the given WebSocket connection and closes the
connection.
|
org.apache.catalina.websocket.StreamInbound |
createWebSocketInbound(String protocol,
javax.servlet.http.HttpServletRequest request) |
protected abstract GuacamoleTunnel |
doConnect(javax.servlet.http.HttpServletRequest request) |
doGet, selectSubProtocol, verifyOrigin
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public static void closeConnection(org.apache.catalina.websocket.WsOutbound outbound, GuacamoleStatus guac_status) throws IOException
outbound
- The outbound WebSocket connection to close.guac_status
- The status to send.IOException
- If an error prevents proper closure of the WebSocket
connection.public org.apache.catalina.websocket.StreamInbound createWebSocketInbound(String protocol, javax.servlet.http.HttpServletRequest request)
createWebSocketInbound
in class org.apache.catalina.websocket.WebSocketServlet
protected abstract GuacamoleTunnel doConnect(javax.servlet.http.HttpServletRequest request) throws GuacamoleException
GuacamoleException
Copyright © 2015. All rights reserved.