Package com.google.gerrit.server
Class IdentifiedUser.RequestFactory
java.lang.Object
com.google.gerrit.server.IdentifiedUser.RequestFactory
- Enclosing class:
- IdentifiedUser
Create an IdentifiedUser, relying on current request state.
Can only be used from within a module that has defined a request scoped @RemotePeer
SocketAddress
provider.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(Account.Id id) <T> IdentifiedUser
create
(Account.Id id, PropertyMap properties) runAs
(Account.Id id, CurrentUser caller, PropertyMap properties)
-
Method Details
-
create
-
create
-
runAs
-