接口 RequestItemParser<T>
- 所有已知实现类:
ConfigurableRequestItemParser
public interface RequestItemParser<T>
- 从以下版本开始:
- 1.6.0
- 作者:
- Eric Zhao
-
方法概要
修饰符和类型方法说明getCookieValue(T request, String cookieName) Get the cookie value associated with the cookie name.Get the header associated with the header key.Get API path from the request.getRemoteAddress(T request) Get remote address from the request.getUrlParam(T request, String paramName) Get the parameter value associated with the parameter name.
-
方法详细资料
-
getPath
Get API path from the request.- 参数:
request- valid request- 返回:
- API path
-
getRemoteAddress
Get remote address from the request.- 参数:
request- valid request- 返回:
- remote address
-
getHeader
Get the header associated with the header key.- 参数:
request- valid requestkey- valid header key- 返回:
- the header
-
getUrlParam
Get the parameter value associated with the parameter name.- 参数:
request- valid requestparamName- valid parameter name- 返回:
- the parameter value
-
getCookieValue
Get the cookie value associated with the cookie name.- 参数:
request- valid requestcookieName- valid cookie name- 返回:
- the cookie value
- 从以下版本开始:
- 1.7.0
-