trait HTTPResponse extends AnyRef
Represents the HTTP response that will be send to the client
- Alphabetic
- By Inheritance
- HTTPResponse
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def addCookies(cookies: List[HTTPCookie]): Unit
Add cookies to the response
Add cookies to the response
- cookies
- the list of response cookies
- abstract def addHeaders(headers: List[HTTPParam]): Unit
Add a list of header parameters to the response object
Add a list of header parameters to the response object
- headers
- the list of headers
- abstract def encodeUrl(url: String): String
Encodes the URL such that it adds the session ID if it is necessary to the URL.
Encodes the URL such that it adds the session ID if it is necessary to the URL. It is implementation specific detail how/if to add the session informations. This will be used for URL rewriting purposes.
- url
- the URL that needs to be analysed
- abstract def getStatus: Int
Returns the HTTP response status that has been set with setStatus
- abstract def outputStream: OutputStream
- returns
- the OutputStream that can be used to send down o the client the response body.
- abstract def setStatus(status: Int): Unit
Sets the HTTP response status
Sets the HTTP response status
- status
- the HTTP status
- abstract def setStatusWithReason(status: Int, reason: String): Unit
Sets the HTTP response status
Sets the HTTP response status
- status
- the HTTP status
- reason
- the HTTP reason phrase
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()