be.wegenenverkeer.atomium.server

play

package play

Visibility
  1. Public
  2. All

Type Members

  1. trait FeedMarshaller[T] extends AnyRef

  2. trait FeedSupport[T] extends Results with HeaderNames with Rendering with AcceptExtractors

    trait supporting serving of feed pages: sets correct caching headers sets ETag and Last-Modified response headers and responds with Not-Modified if needed to reduce bandwidth supports content-negotiation and responds with either JSON or XML depending on registered marshallers

    trait supporting serving of feed pages: sets correct caching headers sets ETag and Last-Modified response headers and responds with Not-Modified if needed to reduce bandwidth supports content-negotiation and responds with either JSON or XML depending on registered marshallers

    T

    the type of the feed entriesĀ²

  3. case class JacksonFeedMarshaller[T](contentType: String = MimeTypes.JSON)(implicit codec: Codec, writer: ObjectWriter) extends FeedMarshaller[T] with Product with Serializable

    A Feed marshaller backed by a Jackson marshaller

    A Feed marshaller backed by a Jackson marshaller

    T

    - the type of the Feed content

    contentType

    - the desired content type of the serialized Feed

    codec

    - a implicitly provided Codec

    writer

    - a implicitly provided ObjectWriter

  4. case class JaxbFeedMarshaller[T](contentType: String = MimeTypes.XML)(implicit jaxbContext: JAXBContext) extends FeedMarshaller[T] with Product with Serializable

    A Feed marshaller backed by a Jaxb marshaller

    A Feed marshaller backed by a Jaxb marshaller

    T

    - the type of the Feed content

    contentType

    - the desired content type of the serialized Feed

    jaxbContext

    - a implicitly provided JAXBContext

  5. case class PlayJsonFeedMarshaller[T](contentType: String = MimeTypes.JSON)(implicit writes: Writes[T]) extends FeedMarshaller[T] with Product with Serializable

    A Feed marshaller backed by a play json marshaller

    A Feed marshaller backed by a play json marshaller

    T

    - the type of the Feed content

    contentType

    - the desired content type of the serialized Feed

    writes

    - a implicitly provided play-json Writes for T

Ungrouped