wvlet.airframe.http
Attributes
Members list
Type members
Classlikes
This object was generated by sbt-buildinfo.
This object was generated by sbt-buildinfo.
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- Self type
- BuildInfo.type
Contains only http channel related configurations in HttpClientConfig
Contains only http channel related configurations in HttpClientConfig
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class HttpClientConfig
An interface for using different implementation between Scala JVM and Scala.js
An interface for using different implementation between Scala JVM and Scala.js
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object Compat.type
An empty RPCContext
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait PackSupportclass Objecttrait Matchableclass Any
- Known subtypes
- object ABORTED_10.typeobject ALREADY_EXISTS_6.typeobject CANCELLED_1.typeobject DATA_LOSS_15.typeobject DEADLINE_EXCEEDED_4.typeobject FAILED_PRECONDITION_9.typeobject INTERNAL_13.typeobject INVALID_ARGUMENT_3.typeobject NOT_FOUND_5.typeobject OK_0.typeobject OUT_OF_RANGE_11.typeobject PERMISSION_DENIED_7.typeobject RESOURCE_EXHAUSTED_8.typeobject UNAUTHENTICATED_16.typeobject UNAVAILABLE_14.typeobject UNIMPLEMENTED_12.typeobject UNKNOWN_2.type
gRPC error code definitions in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
gRPC error code definitions in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- GrpcStatus.type
An entry point to access airframe-http functionalities
An entry point to access airframe-http functionalities
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Http.type
A base interface to implement http-server specific implementation
A base interface to implement http-server specific implementation
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object DefaultBackend.type
- Self type
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- HttpBackend.type
Asynchronous HTTP Client interface
Asynchronous HTTP Client interface
Attributes
- F
An abstraction for Future type (e.g., Resolves the differences between Twitter Future, Scala Future, etc.)
- Companion:
- object
- Graph
- Supertypes
Attributes
- Companion:
- trait
- Graph
- Supertypes
- trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- HttpClient.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- HttpClientConfig.type
Attributes
- Companion:
- object
- Graph
- Supertypes
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
Common classifiers for HTTP client responses and exceptions in order to retry HTTP requests.
Common classifiers for HTTP client responses and exceptions in order to retry HTTP requests.
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- HttpClientException.type
Attributes
- Graph
- Supertypes
- trait Producttrait Equalsclass HttpClientExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Used for passing the subsequent actions to HttpFilter and for defining the leaf action of request processing chain.
Used for passing the subsequent actions to HttpFilter and for defining the leaf action of request processing chain.
Attributes
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- HttpContext.type
A base type to use classOf[HttpContextBase]. classOf[HttpContext[_, _, _] is not supported for higherkinded types
A base type to use classOf[HttpContextBase]. classOf[HttpContext[_, _, _] is not supported for higherkinded types
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class Context
A filter interface to define actions for handling HTTP requests and responses.
A filter interface to define actions for handling HTTP requests and responses.
Implementations of HttpFilter must wrap an exception occurred in the filter.apply(request, context) with F[_]
Attributes
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- HttpFilter.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class Filter
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- HttpHeader.type
Attributes
- Companion:
- object
- Graph
- Supertypes
- Known subtypes
Http request/response data type definitions
Http request/response data type definitions
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- HttpMessage.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- HttpMethod.type
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- HttpMultiMap.type
Immutable case-insensitive MultiMap structure for representing Http headers, query parameters, etc.
Immutable case-insensitive MultiMap structure for representing Http headers, query parameters, etc.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- trait MessageCodec[HttpMultiMap]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- HttpMultiMapCodec.type
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
HttpRequest[Req] wraps native request classes (e.g., okhttp's Response, finagle Response, etc.) so that we can implement common logic for various backends.
HttpRequest[Req] wraps native request classes (e.g., okhttp's Response, finagle Response, etc.) so that we can implement common logic for various backends.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
A type class to bridge the original requests and backend-specific request types (e.g., finagle, okhttp, etc.)
A type class to bridge the original requests and backend-specific request types (e.g., finagle, okhttp, etc.)
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object HttpMessageRequestAdapter.type
HttpResponse[Resp] wraps native response classes (e.g., okhttp's Response, finagle Response, etc.) so that we can implement common logic for various backends.
HttpResponse[Resp] wraps native response classes (e.g., okhttp's Response, finagle Response, etc.) so that we can implement common logic for various backends.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
A type class to bridge the original response type and HttpResponse
A type class to bridge the original response type and HttpResponse
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object HttpMessageResponseAdapter.type
Attributes
- Graph
- Supertypes
- trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
Exception to report errors to client
Exception to report errors to client
Attributes
- Graph
- Supertypes
- trait HttpServerExceptionBaseclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class HttpServerException
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait PackSupportclass Objecttrait Matchableclass Any
- Known subtypes
- object Accepted_202.typeobject BadGateway_502.typeobject BadRequest_400.typeobject ClientClosedRequest_499.typeobject Conflict_409.typeobject Continue_100.typeobject Created_201.typeobject EnhanceYourCalm_420.typeobject ExpectationFailed_417.typeobject FailedDependency_424.typeobject Forbidden_403.typeobject Found_302.typeobject GatewayTimeout_504.typeobject Gone_410.typeobject HttpVersionNotSupported_505.typeobject InsufficientStorage_507.typeobject InternalServerError_500.typeobject LengthRequired_411.typeobject Locked_423.typeobject MethodNotAllowed_405.typeobject MovedPermanently_301.typeobject MultiStatus_207.typeobject MultipleChoices_300.typeobject NetworkAuthenticationRequired_511.typeobject NoContent_204.typeobject NonAuthoritativeInformation_203.typeobject NotAcceptable_406.typeobject NotExtended_510.typeobject NotFound_404.typeobject NotImplemented_501.typeobject NotModified_304.typeobject Ok_200.typeobject PartialContent_206.typeobject PaymentRequired_402.typeobject PermanentRedirect_308.typeobject PreconditionFailed_412.typeobject PreconditionRequired_428.typeobject Processing_102.typeobject ProxyAuthenticationRequired_407.typeobject RequestEntityTooLarge_413.typeobject RequestHeaderFieldsTooLarge_431.typeobject RequestTimeout_408.typeobject RequestURITooLong_414.typeobject RequestedRangeNotSatisfiable_416.typeobject ResetContent_205.typeobject SeeOther_303.typeobject ServiceUnavailable_503.typeobject SwitchingProtocols_101.typeobject TemporaryRedirect_307.typeobject TooManyRequests_429.typeobject Unauthorized_401.typeobject UnavailableForLegalReasons_451.typeobject Unknown_000.typeobject UnorderedCollection_425.typeobject UnprocessableEntity_422.typeobject UnsupportedMediaType_415.typeobject UpgradeRequired_426.typeobject UseProxy_305.typeobject VariantAlsoNegotiates_506.type
HTTP status code collection.
HTTP status code collection.
Attributes
- Companion:
- class
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- HttpStatus.type
A synchronous HTTP Client interface
A synchronous HTTP Client interface
Attributes
- Graph
- Supertypes
- Known subtypes
A synchronous HttpClient that awaits responses.
A synchronous HttpClient that awaits responses.
Attributes
- Graph
- Supertypes
- trait AutoCloseableclass Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- trait AutoCloseableclass Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- RPCContext.type
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object EmptyRPCContext.type
Attributes
- Companion:
- trait
- Graph
- Supertypes
- trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- RPCEncoding.type
A model class for RPC error message body. This message will be embedded to HTTP response body or gRPC trailer.
A model class for RPC error message body. This message will be embedded to HTTP response body or gRPC trailer.
We need this class to avoid directly serde RPCException classes with airframe-codec, so that we can properly propagate the exact stack trace to the client.
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
RPCException provides a backend-independent (e.g., Finagle or gRPC) RPC error reporting mechanism. Create this exception with (RPCStatus code).toException(...) method.
RPCException provides a backend-independent (e.g., Finagle or gRPC) RPC error reporting mechanism. Create this exception with (RPCStatus code).toException(...) method.
If necessary, we can add more standard error_details parameter like https://github.com/googleapis/googleapis/blob/master/google/rpc/error_details.proto
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- RPCException.type
RPC endpoint information
RPC endpoint information
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Define the standard RPC code that can be used for generic RPC service implementation.
Define the standard RPC code that can be used for generic RPC service implementation.
This covers all gRPC statuses and have pre-defined mappings to HTTP status (4xx, 5xx) code.
If you need an application-specific error code, use an additional argument of the RPCError class.
Attributes
A base class for defining standard RPC error codes
A base class for defining standard RPC error codes
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait PackSupportclass Objecttrait Matchableclass Any
- Known subtypes
- object ABORTED_U12.typeobject ALREADY_EXISTS_U6.typeobject CANCELLED_U11.typeobject DATA_LOSS_I8.typeobject DEADLINE_EXCEEDED_I4.typeobject EXCEEDED_BUDGET_R8.typeobject EXCEEDED_CPU_LIMIT_R3.typeobject EXCEEDED_DATA_SIZE_LIMIT_R6.typeobject EXCEEDED_MEMORY_LIMIT_R4.typeobject EXCEEDED_RATE_LIMIT_R2.typeobject EXCEEDED_STORAGE_LIMIT_R7.typeobject EXCEEDED_TIME_LIMIT_R5.typeobject INCONSISTENT_STATE_U10.typeobject INTERNAL_ERROR_I0.typeobject INTERRUPTED_I5.typeobject INVALID_ARGUMENT_U2.typeobject INVALID_REQUEST_U1.typeobject NOT_FOUND_U5.typeobject NOT_SUPPORTED_U7.typeobject OUT_OF_MEMORY_R1.typeobject OUT_OF_RANGE_U4.typeobject PERMISSION_DENIED_U14.typeobject RESOURCE_EXHAUSTED_R0.typeobject SERVICE_SHUTTING_DOWN_I7.typeobject SERVICE_STARTING_UP_I6.typeobject SUCCESS_S0.typeobject SYNTAX_ERROR_U3.typeobject TIMEOUT_I3.typeobject UNAUTHENTICATED_U13.typeobject UNAVAILABLE_I2.typeobject UNEXPECTED_STATE_U9.typeobject UNIMPLEMENTED_U8.typeobject UNKNOWN_I1.typeobject USER_ERROR_U0.type
RPC status types
RPC status types
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait PackSupportclass Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion:
- trait
- Graph
- Supertypes
- trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- RPCStatusType.type
Server address holder
Server address holder
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrortrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- ServerAddress.type
Helper for returning static contents
Helper for returning static contents
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrortrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- StaticContent.type
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any