public class PaginationOptions extends BaseHttpRequestOptions
Modifier and Type | Class and Description |
---|---|
static class |
PaginationOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LIMIT |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
PaginationOptions(int limit,
int offset,
int totalCount) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getLimit() |
int |
getOffset() |
int |
getTotalCount() |
int |
hashCode() |
String |
toString() |
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, replaceHeader
public static final int DEFAULT_LIMIT
@ConstructorProperties(value={"limit","offset","total_count"}) public PaginationOptions(int limit, int offset, int totalCount)
public int getTotalCount()
public int getOffset()
public int getLimit()
public boolean equals(Object o)
equals
in class BaseHttpRequestOptions
public int hashCode()
hashCode
in class BaseHttpRequestOptions
public String toString()
toString
in class BaseHttpRequestOptions
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.