Class WSURI
java.lang.Object
org.eclipse.jetty.ee9.websocket.api.util.WSURI
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic URIConvert to HTTPhttporhttpsscheme URIs.static URItoWebsocket(CharSequence inputUrl) Convert to WebSocketwsorwssscheme URIsstatic URItoWebsocket(CharSequence inputUrl, String query) Convert to WebSocketwsorwssscheme URIsstatic URItoWebsocket(URI inputUri) Convert to WebSocketwsorwssscheme URIs 
- 
Constructor Details
- 
WSURI
public WSURI() 
 - 
 - 
Method Details
- 
toHttp
Convert to HTTPhttporhttpsscheme URIs.Converting
wsandwssURIs to their HTTP equivalent- Parameters:
 inputUri- the input URI- Returns:
 - the HTTP scheme URI for the input URI.
 - Throws:
 URISyntaxException- if unable to convert the input URI
 - 
toWebsocket
Convert to WebSocketwsorwssscheme URIsConverting
httpandhttpsURIs to their WebSocket equivalent- Parameters:
 inputUrl- the input URI- Returns:
 - the WebSocket scheme URI for the input URI.
 - Throws:
 URISyntaxException- if unable to convert the input URI
 - 
toWebsocket
Convert to WebSocketwsorwssscheme URIsConverting
httpandhttpsURIs to their WebSocket equivalent- Parameters:
 inputUrl- the input URIquery- the optional query string- Returns:
 - the WebSocket scheme URI for the input URI.
 - Throws:
 URISyntaxException- if unable to convert the input URI
 - 
toWebsocket
Convert to WebSocketwsorwssscheme URIsConverting
httpandhttpsURIs to their WebSocket equivalent- Parameters:
 inputUri- the input URI- Returns:
 - the WebSocket scheme URI for the input URI.
 - Throws:
 URISyntaxException- if unable to convert the input URI
 
 -