public final class RequestLineFrom extends Object
See 5.1 section of RFC2616:
The Request-Line begins with a method token,
followed by the Request-URI and the protocol version,
and ending with CRLF.
The elements are separated by SP characters.
No CR or LF is allowed except in the final CRLF sequence.
Request-Line = Method SP Request-URI SP HTTP-Version CRLF.
| Constructor and Description |
|---|
RequestLineFrom(String line)
Primary ctor.
|
| Modifier and Type | Method and Description |
|---|---|
RqMethod |
method()
Request method.
|
URI |
uri()
Request URI.
|
String |
version()
HTTP version.
|
public RequestLineFrom(String line)
line - HTTP request lineCopyright © 2012–2020 jcabi.com. All rights reserved.