Package com.vaadin.flow.internal
Class BootstrapHandlerHelper
- java.lang.Object
-
- com.vaadin.flow.internal.BootstrapHandlerHelper
-
- All Implemented Interfaces:
Serializable
public final class BootstrapHandlerHelper extends Object implements Serializable
Helper methods for use in bootstrapping.For internal use only. May be renamed or removed in a future release.
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getPushURL(VaadinSession vaadinSession, VaadinRequest vaadinRequest)
Gets the push URL as a URL relative to the request URI.static String
getServiceUrl(VaadinRequest vaadinRequest)
Gets the service URL as a URL relative to the request URI.
-
-
-
Method Detail
-
getServiceUrl
public static String getServiceUrl(VaadinRequest vaadinRequest)
Gets the service URL as a URL relative to the request URI.- Parameters:
vaadinRequest
- the request- Returns:
- the relative service URL
-
getPushURL
public static String getPushURL(VaadinSession vaadinSession, VaadinRequest vaadinRequest)
Gets the push URL as a URL relative to the request URI.- Parameters:
vaadinSession
- the sessionvaadinRequest
- the request- Returns:
- the relative push URL
-
-