public interface RequestItemParser<T>
| Modifier and Type | Method and Description |
|---|---|
String |
getCookieValue(T request,
String cookieName)
Get the cookie value associated with the cookie name.
|
String |
getHeader(T request,
String key)
Get the header associated with the header key.
|
String |
getPath(T request)
Get API path from the request.
|
String |
getRemoteAddress(T request)
Get remote address from the request.
|
String |
getUrlParam(T request,
String paramName)
Get the parameter value associated with the parameter name.
|
String getPath(T request)
request - valid requestString getRemoteAddress(T request)
request - valid requestString getHeader(T request, String key)
request - valid requestkey - valid header keyString getUrlParam(T request, String paramName)
request - valid requestparamName - valid parameter nameCopyright © 2021 Alibaba Group. All rights reserved.