We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.internal.
Class BootstrapHandlerHelper
- java.lang.Object
-
- com.vaadin.flow.internal.BootstrapHandlerHelper
-
All Implemented Interfaces:
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:
-
-
Method Summary
All 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 requestReturns:
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 requestReturns:
the relative push URL
-
-