@Override
    public String getParameter(String name) {

        // Pull list of values, if present
        List<String> values = getParameterValues(name);
        if (values == null || values.isEmpty())
            return null;

        // Return first parameter value arbitrarily
        return values.get(0);

    }
Creates a TunnelRequest implementation which delegates parameter and
session retrieval to the given HandshakeRequest.

@param request The HandshakeRequest to wrap.
guacamole/src/main/java/org/apache/guacamole/tunnel/websocket/WebSocketTunnelRequest.java