Class RequestContext.Data
java.lang.Object
ch.tocco.nice2.boot.api.executioncontext.RequestContext.Data
- Enclosing interface:
RequestContext
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Data
-
-
Method Details
-
getBaseUrl
- Returns:
- the current URL without path (e.g. "https://backoffice.tocco.ch")
-
getPath
- Returns:
- the path part of the URL (e.g. "/tocco")
-
getClientIpAddress
- Returns:
- the IP address of the client
-
getUserAgent
- Returns:
- the user agent string of the client
-
getRequestId
- Returns:
- the request id ("X-Request-Id" header)
-
getRequestedBusinessUnit
- Returns:
- the request id ("X-Business-Unit" header)
-
getRequestOrigin
- Returns:
- the request id ("X-Origin-Id" header)
-
getRuleProvider
- Returns:
- the rule provider id ("X-Rule-Provider-Id" header)
-