Class WebRouterBuilder


  • public class WebRouterBuilder
    extends java.lang.Object
    Builds the WebRouter.
    Author:
    Daniel Sagenschneider
    • Constructor Detail

      • WebRouterBuilder

        public WebRouterBuilder​(java.lang.String contextPath)
        Instantiate.
        Parameters:
        contextPath - Context path.
    • Method Detail

      • isPathParameters

        public static boolean isPathParameters​(java.lang.String path)
        Indicates if the path contains parameters.
        Parameters:
        path - Path.
        Returns:
        true should the path contain parameters.
      • getContextQualifiedPath

        public static java.lang.String getContextQualifiedPath​(java.lang.String contextPath,
                                                               java.lang.String path)
        Obtains the context qualified path.
        Parameters:
        contextPath - Context path. May be null.
        path - Path.
        Returns:
        Context qualified path.