Class GetVersions
java.lang.Object
com.here.platform.data.client.service.metadata.GetVersions
- All Implemented Interfaces:
Api,Endpoint,RestEndpoint,CatalogApi,MetadataEndpoint,Serializable,scala.Equals,scala.Product
public final class GetVersions
extends Object
implements MetadataEndpoint, CatalogApi, scala.Product, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionscala.collection.immutable.Set<org.apache.pekko.http.scaladsl.model.StatusCode>abstract static Rapply(T1 v1, T2 v2) longbooleanForce to read all response body in memory inside retried block, this is used when simple responses return chunked data that can cause Truncation exception when parsed.path()query()longstatic StringtoString()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.here.platform.data.client.service.metadata.CatalogApi
apiTypeMethods inherited from interface com.here.platform.data.client.http.Endpoint
headers, httpEntity, isStreamingRequest, maxWaitingTimeBetweenRetries, method, perRequestTimeout, retriableHttpStatusCodes, retriesDeadlineMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface com.here.platform.data.client.http.RestEndpoint
acceptHeader, asHttpRequest, createParamMap, queryAsSeq
-
Constructor Details
-
GetVersions
public GetVersions(long startVersion, long endVersion)
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2) -
toString
-
startVersion
public long startVersion() -
endVersion
public long endVersion() -
path
- Specified by:
pathin interfaceRestEndpoint
-
query
- Specified by:
queryin interfaceRestEndpoint
-
acceptableNonSuccessStatusCodes
public scala.collection.immutable.Set<org.apache.pekko.http.scaladsl.model.StatusCode> acceptableNonSuccessStatusCodes()- Specified by:
acceptableNonSuccessStatusCodesin interfaceEndpoint
-
forceStrict
public boolean forceStrict()Description copied from interface:EndpointForce to read all response body in memory inside retried block, this is used when simple responses return chunked data that can cause Truncation exception when parsed.TODO: can become !isStreamingRequest, but need some heavy test to see the memory impact
- Specified by:
forceStrictin interfaceEndpoint
-