Packages

object Http

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Http
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final class Collect[In] extends AnyVal
  2. final class CollectExit[In] extends AnyVal
  3. final class CollectHandler[In] extends AnyVal
  4. final class CollectHttp[In] extends AnyVal
  5. final class CollectZIO[In] extends AnyVal
  6. final class FromHttp[In] extends AnyVal
  7. final class FromHttpZIO[In] extends AnyVal
  8. final class FromOptionalHandler[In] extends AnyVal
  9. final class FromOptionalHandlerZIO[In] extends AnyVal
  10. implicit final class HttpRouteSyntax[R, Err] extends AnyVal
  11. implicit final class ResponseOutputSyntax[-R, +Err, -In] extends AnyVal
  12. sealed trait Route[-R, +Err, -In, +Out] extends Http[R, Err, In, Out]
  13. final case class Static[-R, +Err, -In, +Out](handler: Handler[R, Err, In, Out]) extends Http[R, Err, In, Out] with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def collect[In]: Collect[In]

    Creates an HTTP app which accepts a request and produces response.

  7. def collectExit[In]: CollectExit[In]

    Create an HTTP app from a partial function from A to HExit[R,E,B]

  8. def collectHandler[In]: CollectHandler[In]
  9. def collectRoute[In]: CollectHttp[In]

    Create an HTTP app from a partial function from A to Http[R,E,A,B]

  10. def collectZIO[In]: CollectZIO[In]

    Creates an HTTP app which accepts a request and produces response effectfully.

  11. def empty: Http[Any, Nothing, Any, Nothing]

    Creates an empty Http value

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def fromFile(file: => File)(implicit trace: Trace): Http[Any, Throwable, Any, Response]

    Creates an Http app from the contents of a file.

  15. def fromFileZIO[R](getFile: ZIO[R, Throwable, File])(implicit trace: Trace): Http[R, Throwable, Any, Response]

    Creates an Http app from the contents of a file which is produced from an effect.

    Creates an Http app from the contents of a file which is produced from an effect. The operator automatically adds the content-length and content-type headers if possible.

  16. def fromHandler[R, Err, In, Out](handler: Handler[R, Err, In, Out]): Http[R, Err, In, Out]
  17. def fromHttp[In]: FromHttp[In]
  18. def fromHttpZIO[In]: FromHttpZIO[In]
  19. def fromOptionalHandler[In]: FromOptionalHandler[In]
  20. def fromOptionalHandlerZIO[In]: FromOptionalHandlerZIO[In]
  21. def fromPath(head: String, tail: String*)(implicit trace: Trace): Http[Any, Throwable, Any, Response]

    Creates an HTTP that can serve files on the give path.

  22. def fromResource(path: String)(implicit trace: Trace): Http[Any, Throwable, Any, Response]

    Creates an Http app from a resource path

  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def getResource(path: String)(implicit trace: Trace): Http[Any, Throwable, Any, java.net.URL]

    Attempts to retrieve files from the classpath.

  25. def getResourceAsFile(path: String)(implicit trace: Trace): Http[Any, Throwable, Any, File]

    Attempts to retrieve files from the classpath.

  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. case object Empty extends Http[Any, Nothing, Any, Nothing] with Product with Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped