Class HttpUtils.HttpResponseOps
java.lang.Object
scala.AnyVal
com.here.platform.data.client.utils.HttpUtils.HttpResponseOps
- Enclosing class:
- HttpUtils
public static class HttpUtils.HttpResponseOps
extends scala.AnyVal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> scala.concurrent.Future<T>asDataClientException(String msg, scala.concurrent.ExecutionContext executor, org.apache.pekko.stream.Materializer materializer) <T> scala.concurrent.Future<T>asException(scala.Function1<String, Throwable> buildException, scala.concurrent.ExecutionContext executor, org.apache.pekko.stream.Materializer materializer) <T> scala.concurrent.Future<T>asNotFoundException(String msg, scala.concurrent.ExecutionContext executor, org.apache.pekko.stream.Materializer materializer) <T> scala.concurrent.Future<T>asNotFoundException(scala.concurrent.ExecutionContext executor, org.apache.pekko.stream.Materializer materializer) org.apache.pekko.http.scaladsl.model.HttpResponseresponse()
-
Constructor Details
-
HttpResponseOps
public HttpResponseOps(org.apache.pekko.http.scaladsl.model.HttpResponse response)
-
-
Method Details
-
response
public org.apache.pekko.http.scaladsl.model.HttpResponse response() -
asException
-
asDataClientException
public <T> scala.concurrent.Future<T> asDataClientException(String msg, scala.concurrent.ExecutionContext executor, org.apache.pekko.stream.Materializer materializer) -
asNotFoundException
public <T> scala.concurrent.Future<T> asNotFoundException(scala.concurrent.ExecutionContext executor, org.apache.pekko.stream.Materializer materializer) -
asNotFoundException
public <T> scala.concurrent.Future<T> asNotFoundException(String msg, scala.concurrent.ExecutionContext executor, org.apache.pekko.stream.Materializer materializer)
-