|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jayway.restassured.internal.RedirectSpecificationImpl
public class RedirectSpecificationImpl
| Constructor Summary | |
|---|---|
RedirectSpecificationImpl(RequestSpecification requestSpecification,
Map httpClientParams)
|
|
| Method Summary | |
|---|---|
RequestSpecification |
allowCircular(boolean allowCircularRedirects)
Defines whether circular redirects are allowed. |
RequestSpecification |
follow(boolean followRedirects)
Defines whether redirects should be followed automatically. |
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getProperty(String property)
|
Object |
invokeMethod(String method,
Object arguments)
|
RequestSpecification |
max(int maxNumberOfRedirect)
Limit the number of redirects to prevent infinite loops. |
RequestSpecification |
rejectRelative(boolean rejectRelativeRedirects)
Defines whether relative redirects should be allowed. |
void |
setMetaClass(groovy.lang.MetaClass mc)
|
void |
setProperty(String property,
Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RedirectSpecificationImpl(RequestSpecification requestSpecification,
Map httpClientParams)
| 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 RequestSpecification max(int maxNumberOfRedirect)
RedirectSpecification100.
max in interface RedirectSpecificationmaxNumberOfRedirect - The max number of redirects allowed
public RequestSpecification follow(boolean followRedirects)
RedirectSpecificationtrue.
follow in interface RedirectSpecificationfollowRedirects - true means redirects will be followed automatically
public RequestSpecification allowCircular(boolean allowCircularRedirects)
RedirectSpecificationfalse.
allowCircular in interface RedirectSpecificationallowCircularRedirects - true means circular redirects are allowed.
public RequestSpecification rejectRelative(boolean rejectRelativeRedirects)
RedirectSpecificationfalse.
rejectRelative in interface RedirectSpecificationrejectRelativeRedirects - true means relative redirects are rejected.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||