Interface JaxRsResourceInterceptor.JaxRsResourceContext

Enclosing interface:
JaxRsResourceInterceptor

public static interface JaxRsResourceInterceptor.JaxRsResourceContext
The information available to the interceptors.
  • Method Details

    • getHttpMethod

      String getHttpMethod()
      Return the http method.
      Returns:
      The http method as a String (GET, POST, UPDATE, DELETE...)
    • getRequestUri

      String getRequestUri()
      Return the request uri.
      Returns:
      The raw undecoded request uri of the http request including path and request parameters.
    • getRequestHeaderNames

      Set<String> getRequestHeaderNames()
      Return the request header names.
      Returns:
      The names of all request headers
    • getRequestHeader

      String getRequestHeader(String name)
      Return a request header.
      Parameters:
      name - A request header name
      Returns:
      The value of the request header with the given name
    • getResourcePath

      String getResourcePath()
      Return the resourcee path.
      Returns:
      The full path to the intercepted resource