com.vaadin.server.

Class BootstrapHandler.BootstrapUriResolver

    • Constructor Detail

      • BootstrapUriResolver

        public BootstrapUriResolver​(BootstrapHandler.BootstrapContext bootstrapContext)

        Creates a new bootstrap resolver based on the given bootstrap context.

        Parameters:

        bootstrapContext - the bootstrap context

    • Method Detail

      • getServiceUrlParameterName

        protected String getServiceUrlParameterName()

        Description copied from class: VaadinUriResolver

        Gets the name of the request parameter that should be used for sending the requested URL to the service URL. If null is returned, the requested URL will instead be appended to the base service URL.

        Specified by:

        getServiceUrlParameterName in class VaadinUriResolver

        Returns:

        the parameter name used for passing request URLs, or null to send the path as a part of the request path.

      • getFrontendUrl

        protected String getFrontendUrl()

        Description copied from class: VaadinUriResolver

        Returns the URL pointing to the folder containing frontend files, either for ES5 (if browser does not support ES6) or ES6 (most browsers).

        Specified by:

        getFrontendUrl in class VaadinUriResolver

        Returns:

        the absolute or relative URL to the frontend files, ending with a slash '/'