Class GetArtifactFile
java.lang.Object
com.here.platform.data.client.service.artifact.GetArtifactFile
- All Implemented Interfaces:
Api,Endpoint,RestEndpoint,ArtifactApi,Serializable,scala.Equals,scala.Product
public final class GetArtifactFile
extends Object
implements RestEndpoint, ArtifactApi, scala.Product, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.http.scaladsl.model.HttpHeaderabstract static Rapply(T1 v1, T2 v2) fileName()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.hrn()path()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.service.artifact.ArtifactApi
apiTypeMethods 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
asHttpRequest, createParamMap, query, queryAsSeq
-
Constructor Details
-
GetArtifactFile
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2) -
toString
-
hrn
-
fileName
-
acceptHeader
public org.apache.pekko.http.scaladsl.model.HttpHeader acceptHeader()- Specified by:
acceptHeaderin 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
-
path
- Specified by:
pathin interfaceRestEndpoint
-