Interface HttpRequest

    • Method Detail

      • containsParameter

        boolean containsParameter​(java.lang.String name)
        Determines whether this request contains at least one parameter with the specified name
        Parameters:
        name - The parameter name
        Returns:
        true if this request contains at least one parameter with the specified name
      • getParameter

        java.lang.String getParameter​(java.lang.String name)
        Returns the value of a request parameter as a String, or null if the parameter does not exist. If the request contained multiple parameters with the same name, this method returns the first parameter encountered in the request with the specified name
        Parameters:
        name - The parameter name
        Returns:
        The value
      • getQueryString

        java.lang.String getQueryString()
        Returns:
        The query part
      • getParameters

        java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getParameters()
        Returns:
        a read only Map of query parameters whose key is a String and whose value is a List of Strings.
      • getMethod

        HttpMethod getMethod()
        Return the HTTP method used for this message HttpMethod
        Returns:
        the method
      • getRequestPath

        java.lang.String getRequestPath()
        Return the HTTP request path
        Returns:
        the request path