abstract
class
HttpStaticResource extends BaseHttpResource
Instance Constructors
-
new
HttpStaticResource(resourcePath: String)
Type Members
-
-
-
-
-
-
-
case class
httpDataTextResult(textResult: String, contentType: String, charset: String = "UTF-8", cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable
-
case class
httpErrorResult(errorCode: Int, errorString: String, cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable
-
case class
httpHtmlResult(html: String, charset: String = "UTF-8", cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable
-
case class
httpJsonResult[T <: AnyRef, V <: AnyRef](jsonObj: T, jsonView: Class[V] = null, charset: String = "UTF-8", cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable
-
case class
httpMethod(authRequired: Boolean = false, permissions: Seq[String] = Seq(), authFunction: (String, HttpResourceRequest) ⇒ Boolean = null) extends HttpMethodDef with Product with Serializable
-
-
-
-
-
case class
httpTextResult(textResult: String, charset: String = "UTF-8", cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable
-
case class
httpXmlResult(xmlObj: Node, charset: String = "UTF-8", cacheFlags: CachingOptions = CachingOptions()) extends HttpMethodResult with Product with Serializable
Abstract Value Members
-
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
-
final
def
asInstanceOf[T0]: T0
-
def
buildResourceApiRoutes(registry: HttpResourcesRegistry): Unit
-
-
def
clone(): AnyRef
-
var
corsAllowHeaders: String
-
var
corsAllowOrigin: String
-
var
corsMode: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
-
-
-
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
-
-
-
val
resourcePath: String
-
-
def
setCORSMode(mode: Boolean, corsAllowOrigin: String = "*"): BaseHttpResource
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any