Class RequestContext.Data
java.lang.Object
ch.tocco.nice2.boot.api.executioncontext.RequestContext.Data
- Enclosing interface:
RequestContext
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Data
public Data(String baseUrl, String path, @Nullable @Nullable String clientIpAddress, @Nullable @Nullable String userAgent, @Nullable @Nullable String requestId, @Nullable @Nullable String requestedBusinessUnit, @Nullable @Nullable String originId, @Nullable @Nullable String ruleProvider, @Nullable @Nullable String widgetKey)
-
-
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
-
getUserAgent
-
getRequestId
-
getRequestedBusinessUnit
-
getRequestOrigin
-
getRuleProvider
-
getWidgetKey
-