Package org.takes.rq
Interface RqMethod
-
- All Known Implementing Classes:
RqMethod.Base
public interface RqMethod extends Request
HTTP method parsing.All implementations of this interface must be immutable and thread-safe.
- Since:
- 0.13.7
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RqMethod.Base
Request decorator, for HTTP method parsing.
-
Field Summary
Fields Modifier and Type Field Description static String
CONNECT
CONNECT method.static String
DELETE
DELETE method.static String
GET
GET method.static String
HEAD
HEAD method.static String
OPTIONS
OPTIONS method.static String
PATCH
PATCH method.static String
POST
POST method.static String
PUT
PUT method.static String
TRACE
TRACE method.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
method()
Get method.
-
-
-
Field Detail
-
GET
static final String GET
GET method.- See Also:
- Constant Field Values
-
POST
static final String POST
POST method.- See Also:
- Constant Field Values
-
PUT
static final String PUT
PUT method.- See Also:
- Constant Field Values
-
DELETE
static final String DELETE
DELETE method.- See Also:
- Constant Field Values
-
HEAD
static final String HEAD
HEAD method.- See Also:
- Constant Field Values
-
OPTIONS
static final String OPTIONS
OPTIONS method.- See Also:
- Constant Field Values
-
PATCH
static final String PATCH
PATCH method.- See Also:
- Constant Field Values
-
TRACE
static final String TRACE
TRACE method.- See Also:
- Constant Field Values
-
CONNECT
static final String CONNECT
CONNECT method.- See Also:
- Constant Field Values
-
-
Method Detail
-
method
String method() throws IOException
Get method.- Returns:
- HTTP method
- Throws:
IOException
- If fails
-
-