接口 HttpRequest

    • 方法详细资料

      • getMethod

        HttpMethod getMethod()
        Return the HTTP method of the request.
        返回:
        the HTTP method as an HttpMethod enum value, or null if not resolvable (e.g. in case of a non-standard HTTP method)
      • getURI

        URI getURI()
        Return the URI of the request (including a query string if any, but only if it is well-formed for a URI representation).
        返回:
        the URI of the request (never null)