CommandServiceRequestHandler

csw.command.client.handlers.CommandServiceRequestHandler
class CommandServiceRequestHandler(commandService: CommandService, securityDirectives: SecurityDirectives, destinationPrefix: Option[Prefix], commandRoles: CommandRoles) extends HttpPostHandler[CommandServiceRequest], ServerHttpCodecs

Attributes

Graph
Supertypes
trait ServerHttpCodecs
trait BasicCodecs
trait PekkoHttpCompat
class HttpPostHandler[CommandServiceRequest]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

type CborDecodingSetup = Api[DecodingConfig]

Attributes

Inherited from:
PekkoHttpCompat
type CborEncodingSetup = Api[EncodingConfig]

Attributes

Inherited from:
PekkoHttpCompat
type JsonDecodingSetup = Api[DecodingConfig]

Attributes

Inherited from:
PekkoHttpCompat
type JsonEncodingSetup = Api[EncodingConfig]

Attributes

Inherited from:
PekkoHttpCompat

Value members

Concrete methods

override def handle(request: CommandServiceRequest): Route

Attributes

Definition Classes
HttpPostHandler

Inherited methods

final def borerCborMarshaller[T : Encoder](cborContentType: ContentType, configureCbor: CborEncodingSetup => CborEncodingSetup): ToEntityMarshaller[T]

Provides a ToEntityMarshaller for T given an implicit borer Encoder for T. Supports only CBOR with the given MediaType.

Provides a ToEntityMarshaller for T given an implicit borer Encoder for T. Supports only CBOR with the given MediaType.

Attributes

Inherited from:
PekkoHttpCompat
final def borerCborUnmarshaller[T : Decoder](cborMediaType: MediaType, configureCbor: CborDecodingSetup => CborDecodingSetup): FromEntityUnmarshaller[T]

Provides a FromEntityUnmarshaller for T given an implicit borer Decoder for T. Supports only CBOR with the given MediaType.

Provides a FromEntityUnmarshaller for T given an implicit borer Decoder for T. Supports only CBOR with the given MediaType.

Attributes

Inherited from:
PekkoHttpCompat
final def borerJsonMarshaller[T : Encoder](jsonContentType: ContentType, configureJson: JsonEncodingSetup => JsonEncodingSetup): ToEntityMarshaller[T]

Provides a ToEntityMarshaller for T given an implicit borer Encoder for T. Supports only JSON with the given MediaType.

Provides a ToEntityMarshaller for T given an implicit borer Encoder for T. Supports only JSON with the given MediaType.

Attributes

Inherited from:
PekkoHttpCompat
final def borerJsonUnmarshaller[T : Decoder](jsonMediaType: MediaType, configureJson: JsonDecodingSetup => JsonDecodingSetup): FromEntityUnmarshaller[T]

Provides a FromEntityUnmarshaller for T given an implicit borer Decoder for T. Supports only JSON with the given MediaType.

Provides a FromEntityUnmarshaller for T given an implicit borer Decoder for T. Supports only JSON with the given MediaType.

Attributes

Inherited from:
PekkoHttpCompat
final def borerMarshaller[T : Encoder](cborContentType: ContentType, jsonContentType: ContentType, configureCbor: CborEncodingSetup => CborEncodingSetup, configureJson: JsonEncodingSetup => JsonEncodingSetup, prefer: Target): ToEntityMarshaller[T]

Provides a ToEntityMarshaller for T given an implicit borer Encoder for T. Supports both CBOR and JSON with the given MediaTypes. Content negotiation will determine, whether CBOR or JSON is produced. If the client accepts both formats with equal q-value the marshaller will produce whatever the prefer parameter specifies.

Provides a ToEntityMarshaller for T given an implicit borer Encoder for T. Supports both CBOR and JSON with the given MediaTypes. Content negotiation will determine, whether CBOR or JSON is produced. If the client accepts both formats with equal q-value the marshaller will produce whatever the prefer parameter specifies.

Attributes

Inherited from:
PekkoHttpCompat
final def borerStreamMarshaller[T](ess: EntityStreamingSupport)(implicit marshaller: ToEntityMarshaller[T], classTag: ClassTag[T]): ToEntityMarshaller[Source[T, NotUsed]]

Provides a ToEntityMarshaller for streams of T given an implicit borer Encoder for T. Supports JSON or CSV, depending on the given EntityStreamingSupport.

Provides a ToEntityMarshaller for streams of T given an implicit borer Encoder for T. Supports JSON or CSV, depending on the given EntityStreamingSupport.

Attributes

Inherited from:
PekkoHttpCompat
final def borerStreamUnmarshaller[T : Decoder](ess: EntityStreamingSupport): FromEntityUnmarshaller[Source[T, NotUsed]]

Provides a FromEntityUnmarshaller which produces streams of T given an implicit borer Decoder for T. Supports JSON or CSV, depending on the given EntityStreamingSupport.

Provides a FromEntityUnmarshaller which produces streams of T given an implicit borer Decoder for T. Supports JSON or CSV, depending on the given EntityStreamingSupport.

Attributes

See also
Inherited from:
PekkoHttpCompat
final def borerUnmarshaller[T : Decoder](cborMediaType: MediaType, jsonMediaType: MediaType, configureCbor: CborDecodingSetup => CborDecodingSetup, configureJson: JsonDecodingSetup => JsonDecodingSetup): FromEntityUnmarshaller[T]

Provides a FromEntityUnmarshaller for T given an implicit borer Decoder for T. Supports both CBOR and JSON with the given MediaTypes.

Provides a FromEntityUnmarshaller for T given an implicit borer Decoder for T. Supports both CBOR and JSON with the given MediaTypes.

Attributes

Inherited from:
PekkoHttpCompat

Inherited fields

val jsonStreamingSupport: JsonEntityStreamingSupport

Attributes

Inherited from:
ServerHttpCodecs

Implicits

Inherited implicits

implicit def borerFromEntityUnmarshaller[T : Decoder]: FromEntityUnmarshaller[T]

Override with a parameterized call to the borerUnmarshaller method to apply a custom configuration.

Override with a parameterized call to the borerUnmarshaller method to apply a custom configuration.

Attributes

Inherited from:
PekkoHttpCompat
final implicit def borerFromMessageUnmarshaller[T : Decoder]: FromMessageUnmarshaller[T]

Attributes

Inherited from:
PekkoHttpCompat
implicit def borerJsonStreamFromEntityUnmarshaller[T : Decoder]: FromEntityUnmarshaller[Source[T, NotUsed]]

Override with a parameterized call to the borerStreamUnmarshaller method to apply a custom configuration.

Override with a parameterized call to the borerStreamUnmarshaller method to apply a custom configuration.

Attributes

Inherited from:
PekkoHttpCompat
final implicit def borerJsonStreamFromMessageUnmarshaller[T : Decoder]: FromMessageUnmarshaller[Source[T, NotUsed]]

Attributes

Inherited from:
PekkoHttpCompat
implicit override def borerJsonStreamToEntityMarshaller[T : ClassTag]: ToEntityMarshaller[Source[T, NotUsed]]

Override with a parameterized call to the borerStreamMarshaller method to apply a custom configuration.

Override with a parameterized call to the borerStreamMarshaller method to apply a custom configuration.

Attributes

Definition Classes
ServerHttpCodecs -> PekkoHttpCompat
Inherited from:
ServerHttpCodecs
final implicit def borerJsonStreamToResponseMarshaller[T : ClassTag]: ToResponseMarshaller[Source[T, NotUsed]]

Attributes

Inherited from:
PekkoHttpCompat
implicit def borerToEntityMarshaller[T : Encoder]: ToEntityMarshaller[T]

Override with a parameterized call to the borerMarshaller method to apply a custom configuration.

Override with a parameterized call to the borerMarshaller method to apply a custom configuration.

Attributes

Inherited from:
PekkoHttpCompat
final implicit def borerToResponseMarshaller[T : Encoder]: ToResponseMarshaller[T]

Attributes

Inherited from:
PekkoHttpCompat
implicit lazy val doneCodec: Codec[Done]

Attributes

Inherited from:
BasicCodecs
implicit def eitherCodec[E : Decoder, S : Decoder]: Codec[Either[E, S]]

Attributes

Inherited from:
BasicCodecs
implicit lazy val timeoutInSecondsCodec: Codec[Timeout]

Attributes

Inherited from:
BasicCodecs