Package com.ibm.security.access.policy
Interface Request
-
public interface Request
This interface represents the request of the current user interaction.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Cookie>
getCookies()
Get the cookies.java.lang.String
getHeader(java.lang.String name)
Get the first value of the header with the specified name.java.util.List<java.lang.String>
getHeaderNames()
Get the header names.java.util.List<java.lang.String>
getHeaders(java.lang.String name)
Get the values of the header with the specified name.java.lang.String
getParameter(java.lang.String name)
Get the first value of the (GET and POST) parameter with the specified name.java.util.List<java.lang.String>
getParameterNames()
Get the (GET and POST) parameter names.java.util.List<java.lang.String>
getParameters(java.lang.String name)
Get the values of the (GET and POST) parameter with the specified name.
-
-
-
Method Detail
-
getHeaderNames
java.util.List<java.lang.String> getHeaderNames()
Get the header names.- Returns:
- The header names.
-
getHeader
java.lang.String getHeader(java.lang.String name)
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
java.util.List<java.lang.String> getHeaders(java.lang.String name)
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
java.util.List<Cookie> getCookies()
Get the cookies.- Returns:
- The cookies.
-
getParameterNames
java.util.List<java.lang.String> getParameterNames()
Get the (GET and POST) parameter names.- Returns:
- The parameter names.
-
getParameter
java.lang.String getParameter(java.lang.String name)
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
java.util.List<java.lang.String> getParameters(java.lang.String name)
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.
-
-