Uses of Interface
org.apache.sling.api.request.RequestParameter
Packages that use RequestParameter
Package
Description
-
Uses of RequestParameter in org.apache.sling.api
Methods in org.apache.sling.api that return RequestParameterModifier and TypeMethodDescription@Nullable RequestParameter
SlingHttpServletRequest.getRequestParameter
(@NotNull String name) Deprecated.Returns the value of a request parameter as aRequestParameter
, ornull
if the parameter does not exist.@Nullable RequestParameter
SlingJakartaHttpServletRequest.getRequestParameter
(@NotNull String name) Returns the value of a request parameter as aRequestParameter
, ornull
if the parameter does not exist.@Nullable RequestParameter[]
SlingHttpServletRequest.getRequestParameters
(@NotNull String name) Deprecated.Returns an array ofRequestParameter
objects containing all of the values the given request parameter has, ornull
if the parameter does not exist.@Nullable RequestParameter[]
SlingJakartaHttpServletRequest.getRequestParameters
(@NotNull String name) Returns an array ofRequestParameter
objects containing all of the values the given request parameter has, ornull
if the parameter does not exist.Methods in org.apache.sling.api that return types with arguments of type RequestParameterModifier and TypeMethodDescription@NotNull List<RequestParameter>
SlingHttpServletRequest.getRequestParameterList()
Deprecated.Returns the request parameters as instances of theRequestParameter
interface in the order or the request where the query string parameters are first and the POST request parameters are second.@NotNull List<RequestParameter>
SlingJakartaHttpServletRequest.getRequestParameterList()
Returns the request parameters as instances of theRequestParameter
interface in the order or the request where the query string parameters are first and the POST request parameters are second. -
Uses of RequestParameter in org.apache.sling.api.request
Methods in org.apache.sling.api.request that return RequestParameterModifier and TypeMethodDescription@Nullable RequestParameter
Returns the first value for the named parameter or null if none@Nullable RequestParameter[]
Returns all values for the named parameter or null if none -
Uses of RequestParameter in org.apache.sling.api.request.builder
Methods in org.apache.sling.api.request.builder that return RequestParameterModifier and TypeMethodDescriptionstatic @NotNull RequestParameter
Builders.newRequestParameter
(@NotNull String name, byte @NotNull [] value, String fileName, String contentType) Creates a new binary request parameterstatic @NotNull RequestParameter
Builders.newRequestParameter
(@NotNull String name, @NotNull String value) Creates a newapplication/x-www-form-urlencoded
request parameter with UTF-8 encodingstatic @NotNull RequestParameter
Builders.newRequestParameter
(@NotNull String name, @NotNull String value, @NotNull Charset encoding) Creates a newapplication/x-www-form-urlencoded
request parameter with the given encoding -
Uses of RequestParameter in org.apache.sling.api.wrappers
Methods in org.apache.sling.api.wrappers that return RequestParameterModifier and TypeMethodDescription@Nullable RequestParameter
JakartaToJavaxRequestWrapper.getRequestParameter
(@NotNull String name) @Nullable RequestParameter
JavaxToJakartaRequestWrapper.getRequestParameter
(@NotNull String name) SlingHttpServletRequestWrapper.getRequestParameter
(String name) Deprecated.SlingJakartaHttpServletRequestWrapper.getRequestParameter
(String name) @Nullable RequestParameter[]
JakartaToJavaxRequestWrapper.getRequestParameters
(@NotNull String name) @Nullable RequestParameter[]
JavaxToJakartaRequestWrapper.getRequestParameters
(@NotNull String name) SlingHttpServletRequestWrapper.getRequestParameters
(String name) Deprecated.SlingJakartaHttpServletRequestWrapper.getRequestParameters
(String name) Methods in org.apache.sling.api.wrappers that return types with arguments of type RequestParameterModifier and TypeMethodDescription@NotNull List<RequestParameter>
JakartaToJavaxRequestWrapper.getRequestParameterList()
@NotNull List<RequestParameter>
JavaxToJakartaRequestWrapper.getRequestParameterList()
SlingHttpServletRequestWrapper.getRequestParameterList()
Deprecated.SlingJakartaHttpServletRequestWrapper.getRequestParameterList()