javax.net.websocket
Interface HandshakeRequest


public interface HandshakeRequest

The handshake request represents the web socket defined Http request that for the opening handshake of a web socket session.

Since:
DRAFT 003
Author:
dannycoward

Method Summary
 Map<String,List<String>> getHeaders()
          Return the list of Http Headers that came with the handshake request.
 URI getRequestURI()
          Return the request URI of the handshake request.
 Principal getUserPrincipal()
          Return the authenticated user or null if no user is authenticated for this handshake.
 

Method Detail

getHeaders

Map<String,List<String>> getHeaders()
Return the list of Http Headers that came with the handshake request.


getUserPrincipal

Principal getUserPrincipal()
Return the authenticated user or null if no user is authenticated for this handshake.


getRequestURI

URI getRequestURI()
Return the request URI of the handshake request.



Copyright © 2012. All Rights Reserved.