Interface CanonicalHttpRequest
-
- All Known Implementing Classes:
CanonicalHttpServletRequest
public interface CanonicalHttpRequestHTTP request that can be signed for use as a JWT claim.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetMethod()HTTP method (e.g.Map<String,String[]>getParameterMap()TheMapof parameter-name to parameter-values.StringgetRelativePath()The part of an absolute URL that is after the protocol, server, port and context (i.e.
-
-
-
Method Detail
-
getMethod
String getMethod()
HTTP method (e.g. "GET", "POST" etc).- Returns:
- the HTTP method in upper-case.
-
getRelativePath
String getRelativePath()
The part of an absolute URL that is after the protocol, server, port and context (i.e. base) path. E.g. "/the_path" in "http://server:80/context/the_path?param=value" where "/context" is the context path.- Returns:
- the relative path with no case manipulation.
-
-