Attributes
- Companion
- trait
- Source
- Handler.scala
- Graph
-
- Supertypes
- Self type
-
Handler.type
Members list
Type members
Classlikes
Attributes
- Source
- Handler.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- Handler.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- Handler.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- Handler.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- Handler.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- Handler.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Companion
- trait
- Source
- Handler.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IsRequest.type
Attributes
- Companion
- object
- Source
- Handler.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- Handler.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- Handler.scala
- Supertypes
Attributes
- Source
- Handler.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Source
- Handler.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Value members
Concrete methods
Attributes
- Source
- Handler.scala
Attempts to create a Handler that succeeds with the provided value, capturing all exceptions on it's way.
Attempts to create a Handler that succeeds with the provided value, capturing all exceptions on it's way.
Attributes
- Source
- Handler.scala
Creates a handler which always responds with a 400 status code.
Returns a handler that dies with the specified Throwable. This method can be used for terminating an handler because a defect has been detected in the code. Terminating a handler leads to aborting handling of an HTTP request and responding with 500 Internal Server Error.
Returns a handler that dies with the specified Throwable. This method can be used for terminating an handler because a defect has been detected in the code. Terminating a handler leads to aborting handling of an HTTP request and responding with 500 Internal Server Error.
Attributes
- Source
- Handler.scala
Returns an handler that dies with a RuntimeException having the specified text message. This method can be used for terminating a HTTP request because a defect has been detected in the code.
Returns an handler that dies with a RuntimeException having the specified text message. This method can be used for terminating a HTTP request because a defect has been detected in the code.
Attributes
- Source
- Handler.scala
Creates a handler with an error and the default error message.
Creates a handler with an error and the specified error message. The error message will be returned as HTML, JSON or plain text depending on the Accept header of the request, defaulting to ErrorResponseConfig.errorFormat. If ErrorResponseConfig.withErrorBody is false, the error message will not be included in the response. If the error message should always be included in the response, use Handler.fromResponse(Response.error(status, message))
Creates a handler with an error and the specified error message. The error message will be returned as HTML, JSON or plain text depending on the Accept header of the request, defaulting to ErrorResponseConfig.errorFormat. If ErrorResponseConfig.withErrorBody is false, the error message will not be included in the response. If the error message should always be included in the response, use Handler.fromResponse(Response.error(status, message))
Attributes
- Source
- Handler.scala
Creates a handler with an error and the specified error message. The error message will be returned as HTML, JSON or plain text depending on the Accept header of the request, defaulting to ErrorResponseConfig.errorFormat. If ErrorResponseConfig.withErrorBody is false, the error message will not be included in the response. If the error message should always be included in the response, use Handler.fromResponse(Response.error(status, message))
Creates a handler with an error and the specified error message. The error message will be returned as HTML, JSON or plain text depending on the Accept header of the request, defaulting to ErrorResponseConfig.errorFormat. If ErrorResponseConfig.withErrorBody is false, the error message will not be included in the response. If the error message should always be included in the response, use Handler.fromResponse(Response.error(status, message))
Attributes
- Source
- Handler.scala
Creates a Handler that always fails
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Creates a handler that responds with 403 - Forbidden status code
Creates a handler that responds with 403 - Forbidden status code
Attributes
- Source
- Handler.scala
Creates a handler which always responds the provided data and a 200 status code
Creates a handler which always responds the provided data and a 200 status code
Attributes
- Source
- Handler.scala
Lifts an Either into a Handler alue.
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Creates a Handler from a pure function
Creates a Handler from an pure function from A to Either[E,B]
Creates a Handler from an pure function from A to HExit[R,E,B]
Attributes
- Source
- Handler.scala
Creates a Handler from an effectful pure function
Creates a handler which always responds with the same value.
Converts a ZIO to a handler type
Creates a Handler that always succeeds with a 200 status code and the provided ZStream with a known content length as the body
Creates a Handler that always succeeds with a 200 status code and the provided ZStream with a known content length as the body
Attributes
- Source
- Handler.scala
Creates a Handler that always succeeds with a 200 status code and the provided ZStream with a known content length as the body
Creates a Handler that always succeeds with a 200 status code and the provided ZStream with a known content length as the body
Attributes
- Source
- Handler.scala
Creates a Handler that always succeeds with a 200 status code and the provided ZStream as the body using chunked transfer encoding
Creates a Handler that always succeeds with a 200 status code and the provided ZStream as the body using chunked transfer encoding
Attributes
- Source
- Handler.scala
Creates a Handler that always succeeds with a 200 status code and the provided ZStream as the body using chunked transfer encoding
Creates a Handler that always succeeds with a 200 status code and the provided ZStream as the body using chunked transfer encoding
Attributes
- Source
- Handler.scala
Converts a ZIO to a Handler type
Creates a handler which always responds with the provided Html page.
Creates a handler which always responds with the provided Html page.
Attributes
- Source
- Handler.scala
Creates a pass thru Handler instance
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Creates a handler which always responds with a 405 status code.
Creates a handler which always responds with a 405 status code.
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Creates a builder that can be used to create a handler that projects some component from its input. This is useful when created nested or monadic handlers, which require the input to all handlers be unified. By created extractors, the "smaller" handlers can extract what they need from the input to the "biggest" handler.
Creates a builder that can be used to create a handler that projects some component from its input. This is useful when created nested or monadic handlers, which require the input to all handlers be unified. By created extractors, the "smaller" handlers can extract what they need from the input to the "biggest" handler.
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala
Creates a handler which always responds with the same status code and empty data.
Creates a handler which always responds with the same status code and empty data.
Attributes
- Source
- Handler.scala
Creates a Handler that always returns the same response and never fails.
Creates a Handler that always returns the same response and never fails.
Attributes
- Source
- Handler.scala
Creates a handler which responds with an Html page using the built-in template.
Creates a handler which responds with an Html page using the built-in template.
Attributes
- Source
- Handler.scala
Creates a handler which always responds with the same plain text.
Creates a handler that responds with a 408 status code after the provided time duration
Creates a handler that responds with a 408 status code after the provided time duration
Attributes
- Source
- Handler.scala
Constructs a handler from a function that uses a web socket.
Inherited methods
Creates a handler from a resource path. For file:// resources, Range requests are fully supported. For jar:// resources, Range requests are not supported (returns Accept-Ranges: none).
Creates a handler from a resource path. For file:// resources, Range requests are fully supported. For jar:// resources, Range requests are not supported (returns Accept-Ranges: none).
Attributes
- Inherited from:
- HandlerPlatformSpecific
- Source
- HandlerPlatformSpecific.scala
Attempts to retrieve files from the classpath.
Attempts to retrieve files from the classpath.
Attributes
- Inherited from:
- HandlerPlatformSpecific
- Source
- HandlerPlatformSpecific.scala
Attempts to retrieve files from the classpath.
Attempts to retrieve files from the classpath.
Attributes
- Inherited from:
- HandlerPlatformSpecific
- Source
- HandlerPlatformSpecific.scala
Concrete fields
Creates a handler which always responds with a 400 status code.
Creates a handler that fails with a NotFound exception.
Creates a handler which always responds with a 200 status code.
Creates a handler which always responds with a 413 status code.
Attributes
- Source
- Handler.scala
Implicits
Implicits
Attributes
- Source
- Handler.scala
Attributes
- Source
- Handler.scala