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 class BootstrapHandlerHelper extends Object implements Serializable
Helper methods for use in bootstrapping.
See Also:
-
-
Constructor Summary
Constructors Constructor and Description BootstrapHandlerHelper()
-
Method Summary
All Methods Modifier and Type Method and 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
-
-