object ResponseAs
- Alphabetic
- By Inheritance
- ResponseAs
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit class RichResponseAsEither[L, R, S] extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def deserializeCatchingExceptions[T](doDeserialize: (String) => T): (String) => Either[DeserializationError[Exception], T]
Returns a function, which attempts to deserialize
Right
values using the given function, catching any exceptions and representing them as DeserializationErrors. - def deserializeOrThrow[E, T](doDeserialize: (String) => Either[E, T])(implicit arg0: ShowError[E]): (String) => T
Converts a deserialization function, which returns errors of type
E
, into a function where errors are thrown as exceptions, and results are returned unwrapped. - def deserializeRightCatchingExceptions[T](doDeserialize: (String) => T): (Either[String, String], ResponseMetadata) => Either[ResponseError[Exception], T]
Returns a function, which maps
Left
values to HttpErrors, and attempts to deserializeRight
values using the given function, catching any exceptions and representing them as DeserializationErrors. - def deserializeRightWithError[E, T](doDeserialize: (String) => Either[E, T])(implicit arg0: ShowError[E]): (Either[String, String], ResponseMetadata) => Either[ResponseError[E], T]
Returns a function, which maps
Left
values to HttpErrors, and attempts to deserializeRight
values using the given function. - def deserializeWithError[E, T](doDeserialize: (String) => Either[E, T])(implicit arg0: ShowError[E]): (String) => Either[DeserializationError[E], T]
Converts a deserialization function, which returns errors of type
E
, into a function where errors are wrapped using DeserializationError. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])