public class HttpRequestUri extends Object
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Get the host name of the request URI.
|
String |
getMappingPath()
Get the mapping path of the request URI.
|
Map<String,String> |
getParameters()
Get the parameters map.
|
int |
getPort()
Get the port of the request URI.
|
List<String> |
getRemainingFields()
Get the remaining fields of the request URI.
|
String |
getVersion()
Get the version of the request URI.
|
static HttpRequestUri |
of(List<String> fields)
Create a
HttpRequestUri object from a list of fields. |
public static HttpRequestUri of(List<String> fields)
HttpRequestUri
object from a list of fields.fields
- a list of fields that are built from the HTTP request URIHttpRequestUri
objectpublic String getHost()
public int getPort()
public String getVersion()
public String getMappingPath()
public List<String> getRemainingFields()
Copyright © 2023. All Rights Reserved.