com.jayway.restassured.authentication
Class PreemptiveBasicAuthScheme

java.lang.Object
  extended by com.jayway.restassured.authentication.PreemptiveBasicAuthScheme
All Implemented Interfaces:
AuthenticationScheme, groovy.lang.GroovyObject

public class PreemptiveBasicAuthScheme
extends Object
implements AuthenticationScheme, groovy.lang.GroovyObject


Constructor Summary
PreemptiveBasicAuthScheme()
           
 
Method Summary
 void authenticate(HTTPBuilder httpBuilder)
           
 String generateAuthToken()
           
 groovy.lang.MetaClass getMetaClass()
           
 String getPassword()
           
 Object getProperty(String property)
           
 String getUserName()
           
 Object invokeMethod(String method, Object arguments)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setPassword(String value)
           
 void setProperty(String property, Object value)
           
 void setUserName(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreemptiveBasicAuthScheme

public PreemptiveBasicAuthScheme()
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

getUserName

public String getUserName()

setUserName

public void setUserName(String value)

getPassword

public String getPassword()

setPassword

public void setPassword(String value)

authenticate

public void authenticate(HTTPBuilder httpBuilder)
Specified by:
authenticate in interface AuthenticationScheme

generateAuthToken

public String generateAuthToken()


Copyright © 2010-2012. All Rights Reserved.