public static class SessionContext.Builder extends Object
Constructor and Description |
---|
Builder() |
Builder(UserContext userContext,
Instant now,
Instant validTo,
Instant validFrom) |
Modifier and Type | Method and Description |
---|---|
SessionContext |
build() |
SessionContext.Builder |
setNow(Instant now) |
SessionContext.Builder |
setUserContext(UserContext userContext) |
SessionContext.Builder |
setValidFrom(Instant validFrom) |
SessionContext.Builder |
setValidTo(Instant validTo) |
public Builder()
public Builder(UserContext userContext, Instant now, Instant validTo, Instant validFrom)
public SessionContext.Builder setUserContext(UserContext userContext)
public SessionContext.Builder setNow(Instant now)
public SessionContext.Builder setValidTo(Instant validTo)
public SessionContext.Builder setValidFrom(Instant validFrom)
public SessionContext build()
Copyright © 2020 SAP. All rights reserved.