ServerRequest
Implement for specific request representation of a particular server. Consider overriding ServerRequest#uri and ServerRequest#showShort for a backend-specific implementation of constructing the Uri and printing the path + query params. This way you'll avoid a performance overhead of parsing sttp.model.Uri. See https://softwaremill.com/benchmarking-tapir-part-2/ for more details.
Attributes
- Graph
-
- Supertypes
-
trait RequestMetadatatrait HasHeadersclass Objecttrait Matchableclass Any
- Known subtypes
-
class ServerRequestOverride
Members list
Value members
Abstract methods
Can differ from uri.path
, if the endpoint is deployed in a context
Can differ from uri.path
, if the endpoint is deployed in a context
Attributes
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
.
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
.
Attributes
Concrete methods
A short representation of this request, including the request method, path and query.
A short representation of this request, including the request method, path and query.
Attributes
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.
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.
Attributes
Inherited methods
Attributes
- Inherited from:
- HasHeaders
Attributes
- Inherited from:
- HasHeaders
Attributes
- Inherited from:
- HasHeaders
Attributes
- Inherited from:
- HasHeaders
Attributes
- Inherited from:
- HasHeaders
Attributes
- Inherited from:
- HasHeaders
Attributes
- Inherited from:
- RequestMetadata
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
RequestMetadata -> Any
- Inherited from:
- RequestMetadata
Attributes
- Inherited from:
- HasHeaders
Attributes
- Inherited from:
- RequestMetadata