net.liftweb.http.provider.HTTPContext

trait HTTPContext

trait HTTPContext

 extends Object


Represents the service context information. Similar with servlet context.


Source: HTTPContext.scala(29)

Direct Known Subclasses

HTTPServletContext,

 Fields

path.. abstract def path
[details]
return
- - the context path. It always comes first in a request URI. It is the URI part that represent to context of the request.
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
asInstanceOf.. final def asInstanceOf[T0] T0 Any
attribute.. abstract def attribute(name : String)
[details]
return
- - the value of the context attribute identified by then provided name. Returns Empty if this parameter does not exist.
Box[Any]
attributes.. abstract def attributes
[details]
return
- - a List of Tuple2 consisting of name and value pair of the attributes
List[(String, Any)]
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
initParam.. abstract def initParam(name : String)
[details]
return
- - the value of the init parameter identified by then provided name. Note that this is not typesfe and you need to explicitely do the casting when reading this attribute. Returns Empty if this parameter does not exist.
Box[String]
initParams.. abstract def initParams
[details]
return
- - a List of Tuple2 consisting of name and value pair of the init parameters
List[(String, String)]
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
mimeType.. abstract def mimeType(path : String)
[details]
return
- - the mime type mapped to resource determined by this path.
Box[String]
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
removeAttribute.. abstract def removeAttribute(name : String)
[details]
param
- - name. The name ofthe parameter that needs to be removed.
Unit
resource.. abstract def resource(path : String)
Returns the URL representation of a resource that is mapped by a fully qualified path [details]
The path is considered relative to the root path and it always starts with '/'.
param
path - - the resource path
return
- - the URL object of the path
URL
resourceAsStream.. abstract def resourceAsStream(path : String)
Same as resource but returns an InputStream to read the resource [details]
param
path - - the resource path
return
- InputStream
InputStream
setAttribute.. abstract def setAttribute(name : String, value : Any)
[details]
param
- - value. Any reference. Note that this is not typesfe and you need to explicitely do the casting when reading this attribute.
- - name
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.