Package org.labkey.remoteapi.security
Class StopImpersonatingCommand
java.lang.Object
org.labkey.remoteapi.Command<ResponseType,org.apache.hc.client5.http.classic.methods.HttpPost>
org.labkey.remoteapi.PostCommand<CommandResponse>
org.labkey.remoteapi.security.StopImpersonatingCommand
- All Implemented Interfaces:
HasRequiredVersion
Stop impersonating a user, group, or role(s).
-
Nested Class Summary
Nested classes/interfaces inherited from class org.labkey.remoteapi.Command
Command.CommonParameters, Command.Response -
Field Summary
Fields inherited from class org.labkey.remoteapi.Command
CONTENT_TYPE_JSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hc.client5.http.classic.methods.HttpPostcreateRequest(URI uri) Creates theHttpPostinstance used for the request.Methods inherited from class org.labkey.remoteapi.PostCommand
getJsonObjectMethods inherited from class org.labkey.remoteapi.Command
_execute, createParameterMap, createResponse, execute, getActionName, getControllerName, getHttpRequest, getParameters, getParamValueAsString, getRequiredVersion, getTimeout, setRequiredVersion, setTimeout
-
Constructor Details
-
StopImpersonatingCommand
public StopImpersonatingCommand()
-
-
Method Details
-
createRequest
Description copied from class:PostCommandCreates theHttpPostinstance used for the request. Override to modify the HttpPost object before use or to send something other than JSON in the post body. In your override, create the HttpPost and set the request entity appropriately.- Overrides:
createRequestin classPostCommand<CommandResponse>- Parameters:
uri- the uri to convert- Returns:
- The PostMethod object.
-