Class HttpParameterInfo
java.lang.Object
com.sap.cds.services.utils.runtime.HttpParameterInfo
- All Implemented Interfaces:
ParameterInfo
ParameterInfo instance derived from current HTTP request.-
Method Summary
Modifier and TypeMethodDescriptionstatic ParameterInfofromRequest(jakarta.servlet.http.HttpServletRequest httpRequest, CdsRuntime runtime) Creates theParameterInfoinstance based on the current servlet (http) request.getQueryParameter(String key) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cds.services.request.ParameterInfo
copy
-
Method Details
-
fromRequest
public static ParameterInfo fromRequest(jakarta.servlet.http.HttpServletRequest httpRequest, CdsRuntime runtime) Creates theParameterInfoinstance based on the current servlet (http) request.- Parameters:
httpRequest- The http requestruntime- TheCdsRuntime- Returns:
- The
ParameterInfoinstance ornullif there is no http request scope
-
getCorrelationId
- Specified by:
getCorrelationIdin interfaceParameterInfo
-
getHeaders
- Specified by:
getHeadersin interfaceParameterInfo
-
getHeader
- Specified by:
getHeaderin interfaceParameterInfo
-
getQueryParameter
- Specified by:
getQueryParameterin interfaceParameterInfo
-
getQueryParams
- Specified by:
getQueryParamsin interfaceParameterInfo
-
getLocale
- Specified by:
getLocalein interfaceParameterInfo
-
getValidFrom
- Specified by:
getValidFromin interfaceParameterInfo
-
getValidTo
- Specified by:
getValidToin interfaceParameterInfo
-