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

public class StopImpersonatingCommand extends PostCommand<CommandResponse>
Stop impersonating a user, group, or role(s).
  • Constructor Details

    • StopImpersonatingCommand

      public StopImpersonatingCommand()
  • Method Details

    • createRequest

      protected org.apache.hc.client5.http.classic.methods.HttpPost createRequest(URI uri)
      Description copied from class: PostCommand
      Creates the HttpPost instance 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:
      createRequest in class PostCommand<CommandResponse>
      Parameters:
      uri - the uri to convert
      Returns:
      The PostMethod object.