AeroGear Netty SockJS Codec 0.11.0

org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
Interface SockJsHandler.PathParams

All Known Implementing Classes:
SockJsHandler.MatchingSessionPath, SockJsHandler.NonSupportedPath
Enclosing class:
SockJsHandler

public static interface SockJsHandler.PathParams

Represents HTTP path parameters in SockJS. The path consists of the following parts: http://server:port/prefix/serverId/sessionId/transport


Method Summary
 boolean matches()
           
 String serverId()
          The serverId is chosen by the client and exists to make it easier to configure load balancers to enable sticky sessions.
 String sessionId()
          The sessionId is a unique random number which identifies the session.
 Transports.Type transport()
          The type of transport.
 

Method Detail

matches

boolean matches()

serverId

String serverId()
The serverId is chosen by the client and exists to make it easier to configure load balancers to enable sticky sessions.

Returns:
String the server id for this path.

sessionId

String sessionId()
The sessionId is a unique random number which identifies the session.

Returns:
String the session identifier for this path.

transport

Transports.Type transport()
The type of transport.

Returns:
Transports.Type the type of the transport.

AeroGear Netty SockJS Codec 0.11.0

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.