Data container capturing the details of one outbound HTTP request that has passed through the request interceptor chain: the host, URL, HTTP method, timestamp, current user, tenant, and current operation. Instances are created and populated by interceptors such as LogRequestInterceptor and passed to the RequestInterceptorManager for logging or further processing, typically for auditing, monitoring or debugging.
Properties
| Property | Returns | Description |
|---|---|---|
| currentUser | Long | The id of the profile that was the current user when the request was made. |
| date | Date | The time the request was logged. |
| host | String | The host name the intercepted request was sent to. |
| method | String | The HTTP method of the intercepted request, such as GET or POST. |
| operation | CurrentOp | The current operation that was in progress when the request was made, describing what part of the platform triggered it. |
| tenantId | Long | The id of the tenant organisation the request was made under. |
| url | String | The full URL the intercepted request was sent to. |
Methods
getHost()
Returns: String
The host name the intercepted request was sent to.
getUrl()
Returns: String
The full URL the intercepted request was sent to.
getMethod()
Returns: String
The HTTP method of the intercepted request, such as GET or POST.
getDate()
Returns: Date
The time the request was logged.
getCurrentUser()
Returns: Long
The id of the profile that was the current user when the request was made.
getTenantId()
Returns: Long
The id of the tenant organisation the request was made under.
getOperation()
Returns: CurrentOp
The current operation that was in progress when the request was made, describing what part of the platform triggered it.