Class CanonicalHttpServletRequest
- java.lang.Object
-
- com.atlassian.connect.spring.internal.jwt.CanonicalHttpServletRequest
-
- All Implemented Interfaces:
CanonicalHttpRequest
public class CanonicalHttpServletRequest extends Object implements CanonicalHttpRequest
-
-
Constructor Summary
Constructors Constructor Description CanonicalHttpServletRequest(javax.servlet.http.HttpServletRequest request)
-
Method Summary
All Methods Instance Methods Concrete 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
public String getMethod()
Description copied from interface:CanonicalHttpRequestHTTP method (e.g. "GET", "POST" etc).- Specified by:
getMethodin interfaceCanonicalHttpRequest- Returns:
- the HTTP method in upper-case.
-
getRelativePath
public String getRelativePath()
Description copied from interface:CanonicalHttpRequestThe 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.- Specified by:
getRelativePathin interfaceCanonicalHttpRequest- Returns:
- the relative path with no case manipulation.
-
getParameterMap
public Map<String,String[]> getParameterMap()
Description copied from interface:CanonicalHttpRequestTheMapof parameter-name to parameter-values.- Specified by:
getParameterMapin interfaceCanonicalHttpRequest- Returns:
Maprepresenting { parameter-name-1 to { parameter-value-1, parameter-value-2 ... }, parameter-name-2 to { ... }, ... }
-
-