Package

io.fintrospect

util

Permalink

package util

Visibility
  1. Public
  2. All

Type Members

  1. trait Builder[T] extends AnyRef

    Permalink
  2. class EitherF[L, R] extends AnyRef

    Permalink

    Wrapper for Either which terminates in a Future.

    Wrapper for Either which terminates in a Future. The API here may look unusual, but is designed to mirror the types of traditional Either operations.

  3. trait ExtractableParameter[-From, +T] extends Parameter with Extractor[From, T]

    Permalink

    Mechanism to extract (or fail to extract) a parameter from a particular 'From' context

  4. case class Extracted[T](value: Option[T]) extends Extraction[T] with Product with Serializable

    Permalink

    Represents a object which was provided and extracted successfully

  5. sealed trait Extraction[+T] extends AnyRef

    Permalink

    Result of an attempt to extract an object from a target

  6. sealed trait ExtractionError extends AnyRef

    Permalink
  7. case class ExtractionFailed(invalid: Seq[ExtractionError]) extends Extraction[Nothing] with Product with Serializable

    Permalink

    Represents a object which could not be extracted due to it being invalid or missing when required

  8. trait Extractor[-From, +T] extends AnyRef

    Permalink

    Mechanism to extract (or fail to extract) an entity value from a particular 'From' context

  9. class HeapDump extends Service[Request, Response]

    Permalink

    Service to create and download a heap-dump of the current process.

    Service to create and download a heap-dump of the current process. Will only work with Oracle JDK installations. Since this is obviously an expensive operation (it creates a temp file on disc which is deleted when the request completes) don't bind this service to a publicly available endpoint.

  10. case class Validated[T](value: T) extends Validation[T] with Product with Serializable

    Permalink
  11. sealed trait Validation[+T] extends AnyRef

    Permalink

    Specialised ADT fot validation of parameters from a request

  12. case class ValidationFailed(errors: Seq[ExtractionError]) extends Validation[Nothing] with Product with Serializable

    Permalink
  13. class Validator[In <: Product] extends AnyRef

    Permalink

Value Members

  1. object EitherF

    Permalink
  2. object Extraction

    Permalink
  3. object ExtractionError

    Permalink
  4. object ExtractionFailed extends Serializable

    Permalink
  5. object Extractor

    Permalink
  6. object HttpRequestResponseUtil

    Permalink
  7. object MultiBodyType

    Permalink

    Service which allow multiple body types to be supported on a single route, based on the request Content-Type header

  8. object PathSegmentEncoderDecoder

    Permalink
  9. object StrictContentTypeNegotiation

    Permalink

    Service which allows strict content type negotiation (for multiple mappings) to be supported on a single route.

    Service which allows strict content type negotiation (for multiple mappings) to be supported on a single route. Note that due to Content-Type negotiation being quite complicated, this service does NOT support full functionality, such as q values or levels.

    The implementation is: Check the Accept header and tries to get an exact match on any "<level1>/<level2>" value that it finds. If no match can be found, return an HTTP 406 (Not Acceptable) status. Wildcards or missing Accept headers will choose the first supplied service in the list.

  10. object ValidationFailed extends Serializable

    Permalink
  11. object Validator

    Permalink

Ungrouped