Package org.forgerock.http.filter
Class OptionsFilter
- java.lang.Object
-
- org.forgerock.http.filter.OptionsFilter
-
-
Field Summary
Fields Modifier and Type Field Description static String
METHOD_DELETE
The HTTP DELETE method.static String
METHOD_GET
The HTTP GET method.static String
METHOD_HEAD
The HTTP HEAD method.static String
METHOD_OPTIONS
The HTTP OPTIONS method.static String
METHOD_PATCH
The HTTP PATCH method.static String
METHOD_POST
The HTTP POST method.static String
METHOD_PUT
The HTTP PUT method.static String
METHOD_TRACE
The HTTP TRACE method.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Promise<Response,NeverThrowsException>
filter(Context context, Request request, Handler next)
Handles all OPTION requests to CREST resources, all other request methods are handled by theHandler
.
-
-
-
Field Detail
-
METHOD_DELETE
public static final String METHOD_DELETE
The HTTP DELETE method.- See Also:
- Constant Field Values
-
METHOD_GET
public static final String METHOD_GET
The HTTP GET method.- See Also:
- Constant Field Values
-
METHOD_HEAD
public static final String METHOD_HEAD
The HTTP HEAD method.- See Also:
- Constant Field Values
-
METHOD_OPTIONS
public static final String METHOD_OPTIONS
The HTTP OPTIONS method.- See Also:
- Constant Field Values
-
METHOD_PATCH
public static final String METHOD_PATCH
The HTTP PATCH method.- See Also:
- Constant Field Values
-
METHOD_POST
public static final String METHOD_POST
The HTTP POST method.- See Also:
- Constant Field Values
-
METHOD_PUT
public static final String METHOD_PUT
The HTTP PUT method.- See Also:
- Constant Field Values
-
METHOD_TRACE
public static final String METHOD_TRACE
The HTTP TRACE method.- See Also:
- Constant Field Values
-
-