Interface RequestView


public interface RequestView
Read-only view of the request for use by SecurityResponseFilters.
Author:
Tony Vaagenes
  • Method Details

    • getAttribute

      Object getAttribute(String name)
      Returns a named attribute.
      Returns:
      the named data associated with the request that are private to this runtime (not exposed to the client)
      See Also:
    • getHeaders

      List<String> getHeaders(String name)
      Returns an immutable view of all values of a named header field. Returns an empty list if no such header is present.
    • getFirstHeader

      Optional<String> getFirstHeader(String name)
      Convenience method for retrieving the first value of a named header field. Returns empty if the header is not set, or if the value list is empty.
    • getMethod

      Returns the Http method. Only present if the underlying request has http-like semantics.
    • getUri

      URI getUri()