Package se.fortnox.reactivewizard.jaxrs
Interface JaxRsResourceInterceptor.JaxRsResourceContext
- Enclosing interface:
- JaxRsResourceInterceptor
public static interface JaxRsResourceInterceptor.JaxRsResourceContext
The information available to the interceptors.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the http method.getRequestHeader(String name) Return a request header.Return the request header names.Return the request uri.Return the resourcee path.
-
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
Return the request header names.- Returns:
- The names of all request headers
-
getRequestHeader
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
-