public static final class RqRequestLine.Base extends RqWrap implements RqRequestLine
The class is immutable and thread-safe.
RqRequestLine.Base
Modifier and Type | Method and 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.
|
public Base(Request req)
req
- Original requestpublic String header() throws IOException
RqRequestLine
header
in interface RqRequestLine
IOException
- If failspublic String method() throws IOException
RqRequestLine
method
in interface RqRequestLine
IOException
- If failspublic String uri() throws IOException
RqRequestLine
uri
in interface RqRequestLine
IOException
- If failspublic String version() throws IOException
RqRequestLine
version
in interface RqRequestLine
IOException
- If failsCopyright © 2015–2018 Take. All rights reserved.