AeroGear Netty SockJS Codec 0.11.0

org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
Class SockJsHandler.MatchingSessionPath

java.lang.Object
  extended by org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.MatchingSessionPath
All Implemented Interfaces:
SockJsHandler.PathParams
Enclosing class:
SockJsHandler

public static class SockJsHandler.MatchingSessionPath
extends Object
implements SockJsHandler.PathParams


Constructor Summary
SockJsHandler.MatchingSessionPath(String serverId, String sessionId, String 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SockJsHandler.MatchingSessionPath

public SockJsHandler.MatchingSessionPath(String serverId,
                                         String sessionId,
                                         String transport)
Method Detail

matches

public boolean matches()
Specified by:
matches in interface SockJsHandler.PathParams

serverId

public String serverId()
Description copied from interface: SockJsHandler.PathParams
The serverId is chosen by the client and exists to make it easier to configure load balancers to enable sticky sessions.

Specified by:
serverId in interface SockJsHandler.PathParams
Returns:
String the server id for this path.

sessionId

public String sessionId()
Description copied from interface: SockJsHandler.PathParams
The sessionId is a unique random number which identifies the session.

Specified by:
sessionId in interface SockJsHandler.PathParams
Returns:
String the session identifier for this path.

transport

public Transports.Type transport()
Description copied from interface: SockJsHandler.PathParams
The type of transport.

Specified by:
transport in interface SockJsHandler.PathParams
Returns:
Transports.Type the type of the transport.

AeroGear Netty SockJS Codec 0.11.0

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