Package org.takes.rq
Interface RqRequestLine
-
- All Known Implementing Classes:
RqRequestLine.Base
public interface RqRequestLine extends Request
HTTP Request-Line parsing.All implementations of this interface must be immutable and thread-safe.
- Since:
- 0.29.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RqRequestLine.Base
Request decorator for Request-Line header validation
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
header()
Get Request-Line header.String
method()
Get Request-Line method token.String
uri()
Get Request-Line Request-URI token.String
version()
Get Request-Line HTTP-Version token.
-
-
-
Method Detail
-
header
String header() throws IOException
Get Request-Line header.- Returns:
- HTTP Request-Line header
- Throws:
IOException
- If fails
-
method
String method() throws IOException
Get Request-Line method token.- Returns:
- HTTP Request-Line method token
- Throws:
IOException
- If fails
-
uri
String uri() throws IOException
Get Request-Line Request-URI token.- Returns:
- HTTP Request-Line method token
- Throws:
IOException
- If fails
-
version
String version() throws IOException
Get Request-Line HTTP-Version token.- Returns:
- HTTP Request-Line method token
- Throws:
IOException
- If fails
-
-