Object/Trait

com.lightbend.lagom.scaladsl.api.transport

TransportErrorCode

Related Docs: trait TransportErrorCode | package transport

Permalink

object TransportErrorCode extends Serializable

Source
Exceptions.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransportErrorCode
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val BadRequest: TransportErrorCode

    Permalink

    A bad request, most often this will be equivalent to unsupported data.

  5. val Forbidden: TransportErrorCode

    Permalink

    A particular operation was forbidden.

  6. val GoingAway: TransportErrorCode

    Permalink

    Going away, thrown when the service is unavailable or going away.

  7. val InternalServerError: TransportErrorCode

    Permalink

    An internal server error, equivalent to Unexpected Condition.

  8. val MethodNotAllowed: TransportErrorCode

    Permalink

    The method being used is not allowed.

  9. val NotAcceptable: TransportErrorCode

    Permalink

    The server can't generate a response that meets the clients accepted response types.

  10. val NotFound: TransportErrorCode

    Permalink

    A resource was not found, equivalent to policy violation.

  11. val PayloadTooLarge: TransportErrorCode

    Permalink

    The payload of a message is too large.

  12. val PolicyViolation: TransportErrorCode

    Permalink

    A generic error to used to indicate that the end receiving the error message violated the remote ends policy.

  13. val ProtocolError: TransportErrorCode

    Permalink

    A protocol error, or bad request.

  14. val ServiceUnavailable: TransportErrorCode

    Permalink

    Service unavailable, thrown when the service is unavailable or going away.

  15. val UnexpectedCondition: TransportErrorCode

    Permalink

    A generic error used to indicate that the end sending the error message because it encountered an unexpected condition.

  16. val UnsupportedData: TransportErrorCode

    Permalink

    An application level protocol error, such as when a client or server sent data that can't be deserialized.

  17. val UnsupportedMediaType: TransportErrorCode

    Permalink

    The client or server doesn't know how to deserialize the request or response.

  18. def apply(http: Int, webSocket: Int, description: String): TransportErrorCode

    Permalink
  19. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  20. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def fromHttp(code: Int): TransportErrorCode

    Permalink

    Get a transport error code from the given HTTP error code.

    Get a transport error code from the given HTTP error code.

    code

    The HTTP error code, must be between 400 and 599 inclusive.

    returns

    The transport error code.

    Exceptions thrown

    IllegalArgumentException if the HTTP code was not between 400 and 599.

  25. def fromWebSocket(code: Int): TransportErrorCode

    Permalink

    Get a transport error code from the given WebSocket close code.

    Get a transport error code from the given WebSocket close code.

    code

    The WebSocket close code, must be between 0 and 65535 inclusive.

    returns

    The transport error code.

    Exceptions thrown

    IllegalArgumentException if the code is not an unsigned 2 byte integer.

  26. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  27. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped