Class Parts
java.lang.Object
com.here.platform.data.client.service.index.Parts
- All Implemented Interfaces:
Api,Endpoint,RestEndpoint,IndexApi,Serializable,scala.Equals,scala.Product
public final class Parts
extends Object
implements IndexApi, RestEndpoint, scala.Product, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract static Rapply(T1 v1, T2 v2) booleanForce 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.layer()intparts()path()query()static 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.http.Endpoint
acceptableNonSuccessStatusCodes, 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
-
Parts
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2) -
toString
-
layer
-
parts
public int parts() -
path
- Specified by:
pathin interfaceRestEndpoint
-
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
-
query
- Specified by:
queryin interfaceRestEndpoint
-