Attributes
- Companion
- object
- Source
- Handler.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Members list
Value members
Abstract methods
Consumes the input and executes the Handler.
Concrete methods
Alias for zipRight
Alias for zipLeft
Attributes
- Source
- Handler.scala
Composes one handler with another.
Runs self but if it fails, runs other, ignoring the result from self.
Runs self but if it fails, runs other, ignoring the result from self.
Attributes
- Source
- Handler.scala
Alias for flatmap
Pipes the output of one handler into the other
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Returns a handler that submerges the error case of an Either into the Handler. The inverse operation of Handler.either.
Returns a handler that submerges the error case of an Either into the Handler. The inverse operation of Handler.either.
Attributes
- Source
- Handler.scala
Named alias for >>>
Makes the handler resolve with a constant value
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Extracts body
Attributes
- Source
- Handler.scala
Catches all the exceptions that the handler can fail with
Attributes
- Source
- Handler.scala
Recovers from all defects with provided function.
Recovers from all defects with provided function.
'''WARNING''': There is no sensible way to recover from defects. This method should be used only at the boundary between Handler and an external system, to transmit information on a defect for diagnostic or explanatory purposes.
Attributes
- Source
- Handler.scala
Recovers from some or all of the error cases.
Recovers from some or all of the defects with provided partial function.
Recovers from some or all of the defects with provided partial function.
'''WARNING''': There is no sensible way to recover from defects. This method should be used only at the boundary between Handler and an external system, to transmit information on a defect for diagnostic or explanatory purposes.
Attributes
- Source
- Handler.scala
Named alias for <<<
Extracts content-length from the response if available
Extracts the value of ContentType header
Transforms the input of the handler before passing it on to the current Handler
Transforms the input of the handler before passing it on to the current Handler
Attributes
- Source
- Handler.scala
Transforms the input of the handler before passing it on to the current Handler
Transforms the input of the handler before passing it on to the current Handler
Attributes
- Source
- Handler.scala
Transforms the input of the handler before giving it effectfully
Delays production of output B for the specified duration of time
Delays production of output B for the specified duration of time
Delays consumption of input A for the specified duration of time
Returns a handler whose failure and success have been lifted into an Either. The resulting handler cannot fail, because the failure case has been exposed as part of the Either success case.
Returns a handler whose failure and success have been lifted into an Either. The resulting handler cannot fail, because the failure case has been exposed as part of the Either success case.
Attributes
- Source
- Handler.scala
Creates a new handler from another
Flattens a handler of a handler
Attributes
- Source
- Handler.scala
Folds over the handler by taking in two functions one for success and one for failure respectively.
Folds over the handler by taking in two functions one for success and one for failure respectively.
Attributes
- Source
- Handler.scala
Extracts the value of the provided header name.
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Extracts the Headers from the type B if possible
Attributes
- Source
- Handler.scala
Transforms the output of the handler
Transforms the failure of the handler
Transforms all failures except pure interruption.
Transforms all failures of the handler effectfully except pure interruption.
Transforms all failures of the handler effectfully except pure interruption.
Attributes
- Source
- Handler.scala
Transforms the failure of the handler effectfully
Transforms the output of the handler effectfully
Returns a new handler where the error channel has been merged into the success channel to their common combined type.
Returns a new handler where the error channel has been merged into the success channel to their common combined type.
Attributes
- Source
- Handler.scala
Narrows the type of the input
Attributes
- Source
- Handler.scala
Executes this handler, skipping the error but returning optionally the success.
Executes this handler, skipping the error but returning optionally the success.
Attributes
- Source
- Handler.scala
Converts an option on errors into an option on values.
Translates handler failure into death of the handler, making all failures unchecked and not a part of the type of the handler.
Translates handler failure into death of the handler, making all failures unchecked and not a part of the type of the handler.
Attributes
- Source
- Handler.scala
Keeps none of the errors, and terminates the handler with them, using the specified function to convert the E into a Throwable.
Keeps none of the errors, and terminates the handler with them, using the specified function to convert the E into a Throwable.
Attributes
- Source
- Handler.scala
Named alias for <>
Provides the environment to Handler.
Provides layer to Handler.
Provides some of the environment to Handler.
Provides some of the environment to Handler leaving the remainder R0.
Provides some of the environment to Handler leaving the remainder R0.
Attributes
- Source
- Handler.scala
Performs a race between two handlers
Attributes
- Source
- Handler.scala
Keeps some of the errors, and terminates the handler with the rest.
Keeps some of the errors, and terminates the handler with the rest, using the specified function to convert the E into a Throwable.
Keeps some of the errors, and terminates the handler with the rest, using the specified function to convert the E into a Throwable.
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Extracts Status from the type B is possible.
Attributes
- Source
- Handler.scala
Returns a Handler that effectfully peeks at the success, failed or defective value of this Handler.
Returns a Handler that effectfully peeks at the success, failed or defective value of this Handler.
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Returns a Handler that effectfully peeks at the failure of this Handler.
Returns a Handler that effectfully peeks at the failure of this Handler.
Attributes
- Source
- Handler.scala
Returns a Handler that effectfully peeks at the success of this Handler.
Returns a Handler that effectfully peeks at the success of this Handler.
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Converts the request handler into an HTTP application. Note that the handler of the HTTP application is not identical to this handler, because the handler has been appropriately sandboxed, turning all possible failures into well-formed HTTP responses.
Converts the request handler into an HTTP application. Note that the handler of the HTTP application is not identical to this handler, because the handler has been appropriately sandboxed, turning all possible failures into well-formed HTTP responses.
Attributes
- Source
- Handler.scala
Takes some defects and converts them into failures.
Takes some defects and converts them into failures.
Takes some defects and converts them into failures, using the specified function to convert the E into an E1.
Takes some defects and converts them into failures, using the specified function to convert the E into an E1.
Attributes
- Source
- Handler.scala
Unwraps a Handler that returns a ZIO of Http
Widens the type of the output
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Combines the two apps and returns the result of the one on the right
Combines the two apps and returns the result of the one on the right
Attributes
- Source
- Handler.scala
Concrete fields
Attributes
- Source
- Handler.scala