Class SockJsUrlInfo
- java.lang.Object
- org.springframework.web.socket.sockjs.client.SockJsUrlInfo
public class SockJsUrlInfo extends Object
Container for the base URL of a SockJS endpoint with additional helper methods to derive related SockJS URLs: specifically, theinfo
andtransport
URLs.- Since:
- 4.1
- Author:
- Rossen Stoyanchev
Constructor Summary
Constructors Constructor Description SockJsUrlInfo(URI sockJsUrl)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
getInfoUrl()
String
getServerId()
String
getSessionId()
URI
getSockJsUrl()
URI
getTransportUrl(TransportType transportType)
protected UUID
getUuid()
String
toString()
Constructor Detail
SockJsUrlInfo
public SockJsUrlInfo(URI sockJsUrl)
Method Detail
getSockJsUrl
public URI getSockJsUrl()
getServerId
public String getServerId()
getSessionId
public String getSessionId()
getInfoUrl
public URI getInfoUrl()
getTransportUrl
public URI getTransportUrl(TransportType transportType)