Class PolarisRequestFactory
- java.lang.Object
-
- com.synopsys.integration.polaris.common.request.PolarisRequestFactory
-
public class PolarisRequestFactory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_LIMIT
static java.lang.String
DEFAULT_MIME_TYPE
static int
DEFAULT_OFFSET
static java.lang.String
LIMIT_PARAMETER
static java.lang.String
OFFSET_PARAMETER
-
Constructor Summary
Constructors Constructor Description PolarisRequestFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.synopsys.integration.rest.request.Request.Builder
createDefaultBuilder()
static com.synopsys.integration.rest.request.Request
createDefaultGetRequest(com.synopsys.integration.rest.HttpUrl requestHttpUrl)
static com.synopsys.integration.rest.request.Request
createDefaultPagedGetRequest(com.synopsys.integration.rest.HttpUrl requestHttpUrl)
static com.synopsys.integration.rest.request.Request
createDefaultPagedGetRequest(com.synopsys.integration.rest.HttpUrl requestHttpUrl, int limit)
static com.synopsys.integration.rest.request.Request
createDefaultPagedGetRequest(com.synopsys.integration.rest.HttpUrl requestHttpUrl, int limit, int offset)
static com.synopsys.integration.rest.request.Request.Builder
createDefaultPagedRequestBuilder(int limit, int offset)
static com.synopsys.integration.rest.request.Request.Builder
populatePagedRequestBuilder(com.synopsys.integration.rest.request.Request.Builder requestBuilder, int limit, int offset)
-
-
-
Field Detail
-
DEFAULT_MIME_TYPE
public static final java.lang.String DEFAULT_MIME_TYPE
- See Also:
- Constant Field Values
-
LIMIT_PARAMETER
public static final java.lang.String LIMIT_PARAMETER
- See Also:
- Constant Field Values
-
OFFSET_PARAMETER
public static final java.lang.String OFFSET_PARAMETER
- See Also:
- Constant Field Values
-
DEFAULT_LIMIT
public static final int DEFAULT_LIMIT
- See Also:
- Constant Field Values
-
DEFAULT_OFFSET
public static final int DEFAULT_OFFSET
- See Also:
- Constant Field Values
-
-
Method Detail
-
createDefaultGetRequest
public static com.synopsys.integration.rest.request.Request createDefaultGetRequest(com.synopsys.integration.rest.HttpUrl requestHttpUrl)
-
createDefaultPagedGetRequest
public static com.synopsys.integration.rest.request.Request createDefaultPagedGetRequest(com.synopsys.integration.rest.HttpUrl requestHttpUrl)
-
createDefaultPagedGetRequest
public static com.synopsys.integration.rest.request.Request createDefaultPagedGetRequest(com.synopsys.integration.rest.HttpUrl requestHttpUrl, int limit)
-
createDefaultPagedGetRequest
public static com.synopsys.integration.rest.request.Request createDefaultPagedGetRequest(com.synopsys.integration.rest.HttpUrl requestHttpUrl, int limit, int offset)
-
createDefaultPagedRequestBuilder
public static com.synopsys.integration.rest.request.Request.Builder createDefaultPagedRequestBuilder(int limit, int offset)
-
populatePagedRequestBuilder
public static com.synopsys.integration.rest.request.Request.Builder populatePagedRequestBuilder(com.synopsys.integration.rest.request.Request.Builder requestBuilder, int limit, int offset)
-
createDefaultBuilder
public static com.synopsys.integration.rest.request.Request.Builder createDefaultBuilder()
-
-