Class GetLoginRequestProvider
- java.lang.Object
-
- com.cognite.client.servicesV1.request.GetLoginRequestProvider
-
- All Implemented Interfaces:
RequestProvider
,Serializable
public abstract class GetLoginRequestProvider extends Object
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetLoginRequestProvider.Builder
-
Field Summary
Fields Modifier and Type Field Description protected static String
apiVersion
protected org.slf4j.Logger
LOG
protected String
randomIdString
-
Constructor Summary
Constructors Constructor Description GetLoginRequestProvider()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static GetLoginRequestProvider.Builder
builder()
protected okhttp3.Request.Builder
buildGenericRequest()
protected okhttp3.HttpUrl.Builder
buildGenericUrl()
okhttp3.Request
buildRequest(Optional<String> cursor)
Builds a request based on the baslineRequestParameters
provided via thewithRequestParameters
method.abstract String
getAppIdentifier()
abstract String
getEndpoint()
abstract Request
getRequest()
abstract String
getSdkIdentifier()
abstract String
getSessionIdentifier()
abstract boolean
isBetaEnabled()
abstract GetLoginRequestProvider.Builder
toBuilder()
GetLoginRequestProvider
withRequest(Request parameters)
Set the baselineRequest
to build requests from.
-
-
-
Field Detail
-
apiVersion
protected static final String apiVersion
- See Also:
- Constant Field Values
-
LOG
protected final org.slf4j.Logger LOG
-
randomIdString
protected final String randomIdString
-
-
Method Detail
-
builder
public static GetLoginRequestProvider.Builder builder()
-
toBuilder
public abstract GetLoginRequestProvider.Builder toBuilder()
-
withRequest
public GetLoginRequestProvider withRequest(Request parameters)
Description copied from interface:RequestProvider
Set the baselineRequest
to build requests from. This is typically the application-providedRequest
that kicks off a potential series of requests (in the case of iterating over a results set). This baselineRequest
do not change over the life-cycle of a request-response series.- Returns:
-
buildRequest
public okhttp3.Request buildRequest(Optional<String> cursor) throws IOException, URISyntaxException
Description copied from interface:RequestProvider
Builds a request based on the baslineRequestParameters
provided via thewithRequestParameters
method. If a cursor is provided, this will typically lead theRequestProvider
to modify the underlyingRequest
. In order to get the exactRequest
used to build the latest request, call thegetEffectiveRequestParameters
method.- Returns:
- Throws:
IOException
URISyntaxException
-
buildGenericRequest
protected okhttp3.Request.Builder buildGenericRequest() throws URISyntaxException
- Throws:
URISyntaxException
-
buildGenericUrl
protected okhttp3.HttpUrl.Builder buildGenericUrl() throws URISyntaxException
- Throws:
URISyntaxException
-
getSdkIdentifier
public abstract String getSdkIdentifier()
-
getAppIdentifier
public abstract String getAppIdentifier()
-
getSessionIdentifier
public abstract String getSessionIdentifier()
-
getEndpoint
public abstract String getEndpoint()
-
getRequest
public abstract Request getRequest()
-
isBetaEnabled
public abstract boolean isBetaEnabled()
-
-