public interface RequestLine
RequestLine
is used to represent a HTTP request
line. The methods provided for this can be used to provide easy
access to the components of a HTTP request line. For the syntax
of a HTTP request line see RFC 2616.Modifier and Type | Method and Description |
---|---|
Address |
getAddress()
This is used to acquire the address from the request line.
|
int |
getMajor()
This can be used to get the major number from a HTTP version.
|
String |
getMethod()
This can be used to get the HTTP method for this request.
|
int |
getMinor()
This can be used to get the major number from a HTTP version.
|
Path |
getPath()
This is used to acquire the path as extracted from the HTTP
request URI.
|
Query |
getQuery()
This method is used to acquire the query part from the
HTTP request URI target.
|
String |
getTarget()
This can be used to get the URI specified for this HTTP
request.
|
String getMethod()
String getTarget()
Address getAddress()
Path getPath()
Path
object that is provided by
this method is immutable, it represents the normalized path
only part from the request uniform resource identifier.Query getQuery()
int getMajor()
int getMinor()
Copyright © 2017. All rights reserved.