Package com.ibm.security.access.policy
Interface Request
public interface Request
This interface represents the request of the current user interaction.
-
Method Summary
Modifier and TypeMethodDescriptionGet the cookies.Get the first value of the header with the specified name.Get the header names.getHeaders
(String name) Get the values of the header with the specified name.getParameter
(String name) Get the first value of the (GET and POST) parameter with the specified name.Get the (GET and POST) parameter names.getParameters
(String name) Get the values of the (GET and POST) parameter with the specified name.
-
Method Details
-
getHeaderNames
Get the header names.- Returns:
- The header names.
-
getHeader
Get the first value of the header with the specified name. If such header does not exist, this method returns NULL.- Parameters:
name
- The header name.- Returns:
- The first header value.
-
getHeaders
Get the values of the header with the specified name. If such header does not exist, this method returns an empty list.- Parameters:
name
- The header name.- Returns:
- The header values.
-
getCookies
Get the cookies.- Returns:
- The cookies.
-
getParameterNames
Get the (GET and POST) parameter names.- Returns:
- The parameter names.
-
getParameter
Get the first value of the (GET and POST) parameter with the specified name. If such parameter does not exist, this method returns NULL.- Parameters:
name
- The parameter name.- Returns:
- The first parameter value.
-
getParameters
Get the values of the (GET and POST) parameter with the specified name. If such parameter does not exist, this method returns an empty list.- Parameters:
name
- The parameter name.- Returns:
- The parameter values.
-