Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Members list
Value members
Concrete methods
Alias for zipRight
Alias for zipRight
Attributes
Alias for zipLeft
Alias for zipLeft
Attributes
Composes one handler with another.
Composes one handler with another.
Attributes
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
Alias for flatmap
Alias for flatmap
Attributes
Pipes the output of one handler into the other
Pipes the output of one handler into the other
Attributes
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
Named alias for >>>
Named alias for >>>
Attributes
Makes the handler resolve with a constant value
Makes the handler resolve with a constant value
Attributes
Extracts body
Extracts body
Attributes
Catches all the exceptions that the handler can fail with
Catches all the exceptions that the handler can fail with
Attributes
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
Recovers from some or all of the error cases.
Recovers from some or all of the error cases.
Attributes
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
Named alias for <<<
Named alias for <<<
Attributes
Extracts content-length from the response if available
Extracts content-length from the response if available
Attributes
Extracts the value of ContentType header
Extracts the value of ContentType header
Attributes
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
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
Transforms the input of the handler before giving it effectfully
Transforms the input of the handler before giving it effectfully
Attributes
Delays production of output B for the specified duration of time
Delays production of output B for the specified duration of time
Attributes
Delays production of output B for the specified duration of time
Delays production of output B for the specified duration of time
Attributes
Delays consumption of input A for the specified duration of time
Delays consumption of input A for the specified duration of time
Attributes
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
Creates a new handler from another
Creates a new handler from another
Attributes
Flattens a handler of a handler
Flattens a handler of a handler
Attributes
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
Extracts the value of the provided header name.
Extracts the value of the provided header name.
Attributes
Extracts the Headers
from the type B
if possible
Extracts the Headers
from the type B
if possible
Attributes
Transforms the output of the handler
Transforms the output of the handler
Attributes
Transforms the failure of the handler
Transforms the failure of the handler
Attributes
Transforms all failures except pure interruption.
Transforms all failures except pure interruption.
Attributes
Transforms all failures of the handler effectfully except pure interruption.
Transforms all failures of the handler effectfully except pure interruption.
Attributes
Transforms the failure of the handler effectfully
Transforms the failure of the handler effectfully
Attributes
Transforms the output of the handler effectfully
Transforms the output of the handler effectfully
Attributes
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
Narrows the type of the input
Narrows the type of the input
Attributes
Executes this handler, skipping the error but returning optionally the success.
Executes this handler, skipping the error but returning optionally the success.
Attributes
Converts an option on errors into an option on values.
Converts an option on errors into an option on values.
Attributes
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
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
Named alias for <>
Named alias for <>
Attributes
Provides the environment to Handler.
Provides the environment to Handler.
Attributes
Provides layer to Handler.
Provides layer to Handler.
Attributes
Provides some of the environment to Handler.
Provides some of the environment to Handler.
Attributes
Provides some of the environment to Handler leaving the remainder R0
.
Provides some of the environment to Handler leaving the remainder R0
.
Attributes
Performs a race between two handlers
Performs a race between two handlers
Attributes
Keeps some of the errors, and terminates the handler with the rest.
Keeps some of the errors, and terminates the handler with the rest.
Attributes
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
Extracts Status
from the type B
is possible.
Extracts Status
from the type B
is possible.
Attributes
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
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
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
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
Takes some defects and converts them into failures.
Takes some defects and converts them into failures.
Attributes
Takes some defects and converts them into failures.
Takes some defects and converts them into failures.
Attributes
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
Unwraps a Handler that returns a ZIO of Http
Unwraps a Handler that returns a ZIO of Http
Attributes
Widens the type of the output
Widens the type of the output