Class endpoints.Consume
java.lang.Object
com.here.platform.data.client.service.stream.endpoints.Consume
- All Implemented Interfaces:
Api,Endpoint,HyperMediaEndpoint,endpoints.StreamEndpoint,StreamApi,Serializable,scala.Equals,scala.Product
- Enclosing class:
- endpoints
public static final class endpoints.Consume
extends Object
implements endpoints.StreamEndpoint, scala.Product, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
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 com.here.platform.data.client.service.stream.endpoints.StreamEndpoint
uriMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface com.here.platform.data.client.http.HyperMediaEndpoint
asHttpRequestMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
Consume
-
-
Method Details
-
baseUrl
- Specified by:
baseUrlin interfaceendpoints.StreamEndpoint
-
layer
-
subscriptionId
- Specified by:
subscriptionIdin interfaceendpoints.StreamEndpoint
-
path
- Specified by:
pathin interfaceendpoints.StreamEndpoint
-
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
-