Package io.micronaut.starter.api
Class RequestInfo
java.lang.Object
io.micronaut.starter.api.RequestInfo
The server URL.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRequestInfo
(String serverURL, String path, io.micronaut.http.HttpParameters parameters, Locale locale, String userAgent) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.http.HttpParameters
getPath()
link
(Relationship rel, ApplicationType type) link
(ApplicationType type) self()
toString()
-
Field Details
-
LOCAL
-
-
Constructor Details
-
Method Details
-
getServerURL
- Returns:
- The server URL
-
getCurrentURL
- Returns:
- The current URL
-
self
- Returns:
- The self link
-
link
- Parameters:
rel
- The relationshiptype
- The type- Returns:
- A new link
-
link
- Parameters:
type
- The type- Returns:
- A new link
-
getLocale
-
link
-
getUserAgent
-
getPath
- Returns:
- request path
-
getParameters
public io.micronaut.http.HttpParameters getParameters()- Returns:
- request parameters
-
toString
-