public class PreemptiveAuthSpecImpl extends Object implements PreemptiveAuthSpec, groovy.lang.GroovyObject
| Constructor and Description |
|---|
PreemptiveAuthSpecImpl(RequestSpecification requestBuilder) |
| Modifier and Type | Method and Description |
|---|---|
RequestSpecification |
basic(String userName,
String password)
Use preemptive http basic authentication.
|
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public PreemptiveAuthSpecImpl(RequestSpecification requestBuilder)
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic RequestSpecification basic(String userName, String password)
PreemptiveAuthSpecbasic in interface PreemptiveAuthSpecuserName - The user name.password - The password.Copyright © 2010–2014. All rights reserved.