public class RequestAuditContext extends AbstractContext
data
Constructor and Description |
---|
RequestAuditContext(Context parent)
Constructs a new context using the specified parent and the current time as the request received time.
|
RequestAuditContext(Context parent,
Clock clock)
Constructs a new context using the specified parent and the current time as the request received time.
|
RequestAuditContext(JsonValue savedContext,
ClassLoader classLoader)
Restores a saved context.
|
Modifier and Type | Method and Description |
---|---|
long |
getRequestReceivedTime()
Get the time in milliseconds since the epoch that the request was received.
|
asContext, containsContext, containsContext, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
public RequestAuditContext(Context parent)
parent
- The parent context.public RequestAuditContext(Context parent, Clock clock)
parent
- The parent context.clock
- The instance of Clock
to use.public RequestAuditContext(JsonValue savedContext, ClassLoader classLoader)
savedContext
- The saved state.classLoader
- The ClassLoader
to use.Copyright © 2010-2018, ForgeRock All Rights Reserved.