HandlerPlatformSpecific

zio.http.HandlerPlatformSpecific

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Handler.type
Self type
Handler.type

Members list

Value members

Concrete methods

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

Creates a handler from a resource path

Creates a handler from a resource path

Attributes

def getResource(path: String)(implicit trace: Trace): Handler[Any, Throwable, Any, URL]

Attempts to retrieve files from the classpath.

Attempts to retrieve files from the classpath.

Attributes

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

Attempts to retrieve files from the classpath.

Attempts to retrieve files from the classpath.

Attributes