t

sttp.tapir.model

ServerRequest

trait ServerRequest extends RequestMetadata

Linear Supertypes
RequestMetadata, HasHeaders, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerRequest
  2. RequestMetadata
  3. HasHeaders
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def attribute[T](k: AttributeKey[T], v: T): ServerRequest
  2. abstract def attribute[T](k: AttributeKey[T]): Option[T]
  3. abstract def connectionInfo: ConnectionInfo
  4. abstract def headers: Seq[Header]
    Definition Classes
    HasHeaders
  5. abstract def method: Method
    Definition Classes
    RequestMetadata
  6. abstract def pathSegments: List[String]

    Can differ from uri.path, if the endpoint is deployed in a context

  7. abstract def protocol: String
  8. abstract def queryParameters: QueryParams
  9. abstract def underlying: Any
  10. abstract def uri: Uri
    Definition Classes
    RequestMetadata
  11. abstract def withUnderlying(underlying: Any): ServerRequest

    Create a copy of this server request, which reads data from the given underlying implementation.

    Create a copy of this server request, which reads data from the given underlying implementation. The type of underlying should be the same as the type of this.underlying.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val acceptsContentTypes: Either[String, Seq[ContentTypeRange]]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def contentLength: Option[Long]
    Definition Classes
    HasHeaders
  8. def contentType: Option[String]
    Definition Classes
    HasHeaders
  9. lazy val contentTypeParsed: Option[MediaType]
  10. def cookies: Seq[Either[String, CookieWithMeta]]
    Definition Classes
    HasHeaders
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def header(h: String): Option[String]
    Definition Classes
    HasHeaders
  16. def headers(h: String): Seq[String]
    Definition Classes
    HasHeaders
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def showShort: String

    A short representation of this request, including the request method, path and query.

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    RequestMetadata → AnyRef → Any
  24. def unsafeCookies: Seq[CookieWithMeta]
    Definition Classes
    HasHeaders
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. def withOverride(methodOverride: Option[Method] = None, uriOverride: Option[Uri] = None, protocolOverride: Option[String], connectionInfoOverride: Option[ConnectionInfo], pathSegmentsOverride: Option[List[String]] = None, queryParametersOverride: Option[QueryParams] = None, headersOverride: Option[Seq[Header]] = None): ServerRequest

    Create a copy of this server request, which overrides some of the data that is read from the underlying implementation with the given values.

    Create a copy of this server request, which overrides some of the data that is read from the underlying implementation with the given values. E.g. instead of reading the headers from the underlying request, the headers might be given explicitly.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from RequestMetadata

Inherited from HasHeaders

Inherited from AnyRef

Inherited from Any

Ungrouped