Module iu.util.auth
Package edu.iu.auth

Interface IuRequestAttributes


public interface IuRequestAttributes
Encapsulates attributes commonly associated with an HTTP request.
  • Method Details

    • getRequestUri

      URI getRequestUri()
      Gets the full request URI to the resource that issued the token.
      Returns:
      Request URI
    • getRemoteAddr

      String getRemoteAddr()
      Gets the remote client IP address.
      Returns:
      IP address
    • getUserAgent

      String getUserAgent()
      Gets the caller's user agent.
      Returns:
      User-Agent header value
    • getCookies

      Iterable<HttpCookie> getCookies()
      Gets incoming request cookies.
      Returns:
      request cookies