Package com.google.gerrit.server.util
Class OneOffRequestContext
- java.lang.Object
-
- com.google.gerrit.server.util.OneOffRequestContext
-
public class OneOffRequestContext extends Object
Helper to create one-off request contexts.The user in the request context is
InternalUseror theIdentifiedUserassociated to the userId passed as parameter.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManualRequestContextopen()ManualRequestContextopenAs(Account.Id userId)
-
-
-
Method Detail
-
open
public ManualRequestContext open()
-
openAs
public ManualRequestContext openAs(Account.Id userId)
-
-