|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jayway.restassured.internal.filter.FilterContextImpl
public class FilterContextImpl
| Constructor Summary | |
|---|---|
FilterContextImpl(String completePath,
String path,
Method method,
Object assertionClosure,
List<Filter> filterList)
|
|
| Method Summary | |
|---|---|
Object |
getAssertionClosure()
|
String |
getCompleteRequestPath()
|
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getProperties()
|
Object |
getProperty(String property)
|
Method |
getRequestMethod()
|
String |
getRequestPath()
|
Object |
getValue(String name)
Get a value |
Object |
invokeMethod(String method,
Object arguments)
|
Response |
next(FilterableRequestSpecification request,
FilterableResponseSpecification response)
Continue to the next filter in the chain. |
Response |
send(RequestSender requestSender)
Send a request to the same request path and with the same request method as the original request. |
void |
setAssertionClosure(Object value)
|
void |
setMetaClass(groovy.lang.MetaClass mc)
|
void |
setProperties(Object value)
|
void |
setProperty(String property,
Object value)
|
void |
setValue(String name,
Object value)
Add a value that may be used be subsequent filters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterContextImpl(String completePath,
String path,
Method method,
Object assertionClosure,
List<Filter> filterList)
| Method Detail |
|---|
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObject
public Object invokeMethod(String method,
Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObject
public void setProperty(String property,
Object value)
setProperty in interface groovy.lang.GroovyObjectpublic Object getAssertionClosure()
public void setAssertionClosure(Object value)
public Object getProperties()
public void setProperties(Object value)
public Response next(FilterableRequestSpecification request,
FilterableResponseSpecification response)
FilterContext
next in interface FilterContextrequest - The request specificationresponse - The response specification
public String getRequestPath()
getRequestPath in interface FilterContextpublic Method getRequestMethod()
getRequestMethod in interface FilterContextpublic String getCompleteRequestPath()
getCompleteRequestPath in interface FilterContextpublic Response send(RequestSender requestSender)
FilterContext
send in interface FilterContextrequestSender - The response or request specification.
public void setValue(String name,
Object value)
FilterContext
setValue in interface FilterContextname - The name of the valuevalue - The value itselfpublic Object getValue(String name)
FilterContext
getValue in interface FilterContextname - The name of the value
null if no value was found for the supplied name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||