Class SockJsUrlInfo
java.lang.Object
org.springframework.web.socket.sockjs.client.SockJsUrlInfo
Container for the base URL of a SockJS endpoint with additional helper methods
 to derive related SockJS URLs: specifically, the 
info
 and transport URLs.- Since:
- 4.1
- Author:
- Rossen Stoyanchev, Juergen Hoeller
- 
Constructor SummaryConstructorsConstructorDescriptionSockJsUrlInfo(URI sockJsUrl) Construct a newSockJsUrlInfoinstance, calculating a random server id and session id if necessary.Construct a newSockJsUrlInfoinstance.
- 
Method SummaryModifier and TypeMethodDescriptiongetTransportUrl(TransportType transportType) protected UUIDgetUuid()toString()
- 
Constructor Details- 
SockJsUrlInfoConstruct a newSockJsUrlInfoinstance, calculating a random server id and session id if necessary.- Parameters:
- sockJsUrl- the target URL
 
- 
SockJsUrlInfoConstruct a newSockJsUrlInfoinstance.- Parameters:
- sockJsUrl- the target URL
- serverId- a pre-determined server id, if any
- sessionId- a pre-determined session id, if any
- Since:
- 6.1.3
 
 
- 
- 
Method Details