Package org.appng.api

Interface Request

    • Method Detail

      • getUrlParameters

        List<String> getUrlParameters()
        Returns a list of URL-Parameters for a JSP-page, which are those path-elements appearing after the name of the JSP-page itself. So if the page is named contact and the path is /contact/europe/germany, the resulting List would be equal to Arrays.asList("europe","germany").
        Returns:
        the URL-Parameters for a JSP-Page
        See Also:
        Path.getJspUrlParameters()
      • isRedirect

        boolean isRedirect()
        Checks whether a redirect-target has been set for this Request.
        Returns:
        true if a redirect-target has been set for this Request, false otherwise
      • isGet

        boolean isGet()
        Checks whether this Request originates of a HTTP GET-request.
        Returns:
        true if this Request originates of a HTTP GET-request, false otherwise
      • isPost

        boolean isPost()
        Checks whether this Request originates of a HTTP POST-request.
        Returns:
        true if this Request originates of a HTTP POST-request, false otherwise
      • headers

        org.springframework.http.HttpHeaders headers()
        Returns the HttpHeaders for the underlying HttpServletRequest.
        Returns:
        the headers