Class 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 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 session
        vaadinRequest - the request
        Returns:
        the relative push URL