Package org.labkey.remoteapi
Class GetCommand<ResponseType extends CommandResponse>
java.lang.Object
org.labkey.remoteapi.Command<ResponseType,org.apache.hc.client5.http.classic.methods.HttpGet>
org.labkey.remoteapi.GetCommand<ResponseType>
- All Implemented Interfaces:
HasRequiredVersion
- Direct Known Subclasses:
EnsureLoginCommand
,GetContainersCommand
,GetDomainDetailsCommand
,GetGroupPermsCommand
,GetProtocolCommand
,GetQueriesCommand
,GetQueryDetailsCommand
,GetSchemasCommand
,GetUsersCommand
,LineageCommand
,SimpleGetCommand
,WhoAmICommand
public abstract class GetCommand<ResponseType extends CommandResponse>
extends Command<ResponseType,org.apache.hc.client5.http.classic.methods.HttpGet>
Base class for all commands that use get
-
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.HttpGet
createRequest
(URI uri) Creates theHttpGet
instance used for the request.Methods inherited from class org.labkey.remoteapi.Command
_execute, createParameterMap, createResponse, execute, getActionName, getControllerName, getHttpRequest, getParameters, getParamValueAsString, getRequiredVersion, getTimeout, setRequiredVersion, setTimeout
-
Constructor Details
-
GetCommand
-
-
Method Details
-
createRequest
Creates theHttpGet
instance used for the request. Override to modify the HttpGet object before use.- Specified by:
createRequest
in classCommand<ResponseType extends CommandResponse,
org.apache.hc.client5.http.classic.methods.HttpGet> - Parameters:
uri
- the request uri- Returns:
- The HttpUriRequest instance.
-