net.liftweb.http.testing.GetPosterHelper

trait GetPosterHelper

trait GetPosterHelper

 extends ScalaObject




Source: TestFramework.scala(359)

Direct Known Subclasses

BaseResponse, RequestKit, TestKit,

 Fields

theHttpClient.. abstract def theHttpClient
Create the HTTP client for a new get/post request
HttpClient

 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
clone.. protected def clone Object AnyRef
delete.. def delete(url : String, params : (String, Any)*)(implicit capture : (String, HttpClient, HttpMethodBase) => ResponseType)
Perform an HTTP DELETE with a newly minted httpClient [details]
param
params - the parameters to pass
url - the URL to make the request on
ResponseType
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
get.. def get(url : String, params : (String, Any)*)(implicit capture : (String, HttpClient, HttpMethodBase) => ResponseType)
Perform an HTTP GET with a newly minted httpClient [details]
param
params - the parameters to pass
url - the URL to make the request on
ResponseType
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
post.. def post[RT](url : String, xml : RT)(implicit capture : (String, HttpClient, HttpMethodBase) => ResponseType, implicit bodyToRequestEntity : (RT) => RequestEntity)
Perform an HTTP POST with a newly minted httpClient [details]
param
xml - the XML to POST to the server
url - the URL to make the request on
ResponseType
post.. def post(url : String, params : (String, Any)*)(implicit capture : (String, HttpClient, HttpMethodBase) => ResponseType)
Perform an HTTP POST with a newly minted httpClient [details]
param
params - the parameters to pass
url - the URL to make the request on
ResponseType
post.. def post(url : String, body : Array[Byte], contentType : String)(implicit capture : (String, HttpClient, HttpMethodBase) => ResponseType)
Perform an HTTP POST with a newly minted httpClient [details]
param
body - the bytes to POST to the server
contentType - the content type of the message
url - the URL to make the request on
ResponseType
put.. def put[RT](url : String, xml : RT)(implicit capture : (String, HttpClient, HttpMethodBase) => ResponseType, implicit bodyToRequestEntity : (RT) => RequestEntity)
Perform an HTTP PUT with a newly minted httpClient [details]
param
xml - the XML to PUT to the server
url - the URL to make the request on
ResponseType
put.. def put(url : String, body : Array[Byte], contentType : String)(implicit capture : (String, HttpClient, HttpMethodBase) => ResponseType)
Perform an HTTP POST with a newly minted httpClient [details]
param
body - the bytes to POST to the server
contentType - the content type of the message
url - the URL to make the request on
ResponseType
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(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.