net.liftweb.http.ResourceServer

object ResourceServer

object ResourceServer

 extends ScalaObject




Source: ResourceServer.scala(26)

 Constructors

def this

 Fields

allowedPaths.. var allowedPaths PartialFunction[List[String], Boolean]
baseResourceLocation.. var baseResourceLocation
The base package for serving resources [details]
This way, resource names can't be spoofed
String
pathRewriter.. var pathRewriter PartialFunction[List[String], List[String]]

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
allow.. def allow(path : PartialFunction[List[String], Boolean]) Unit
asInstanceOf.. final def asInstanceOf[T0] T0 Any
calcLastModified.. def calcLastModified(in : URL) Long
clone.. protected def clone Object AnyRef
detectContentType.. def detectContentType(path : String)
detect the Content-Type of file (path) with context-defined content-types (application's web [details]
xml or container's configuration), and fall back to system or JVM-defined (FileNameMap) content types. if no content-type found, then return "application/octet-stream"
param
path - Resource name to be analyzed to detect MIME type
see
- HTTPContext # mimeType ( String )
- URLConnection # getFileNameMap ( )
String
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
findResourceInClasspath.. def findResourceInClasspath(request : Req, uri : List[String])() Box[LiftResponse]
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
rewrite.. def rewrite(rw : PartialFunction[List[String], List[String]]) Unit
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.