net.smartam.leeloo.common.message
Class OAuthResponse.OAuthErrorResponseBuilder

java.lang.Object
  extended by net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
      extended by net.smartam.leeloo.common.message.OAuthResponse.OAuthErrorResponseBuilder
Enclosing class:
OAuthResponse

public static class OAuthResponse.OAuthErrorResponseBuilder
extends OAuthResponse.OAuthResponseBuilder


Field Summary
 
Fields inherited from class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
applier, location, parameters, responseCode
 
Constructor Summary
OAuthResponse.OAuthErrorResponseBuilder(int responseCode)
           
 
Method Summary
 OAuthResponse.OAuthErrorResponseBuilder error(OAuthProblemException ex)
           
 OAuthResponse.OAuthErrorResponseBuilder location(String location)
           
 OAuthResponse.OAuthErrorResponseBuilder setError(String error)
           
 OAuthResponse.OAuthErrorResponseBuilder setErrorDescription(String desc)
           
 OAuthResponse.OAuthErrorResponseBuilder setErrorUri(String state)
           
 OAuthResponse.OAuthErrorResponseBuilder setRealm(String realm)
           
 OAuthResponse.OAuthErrorResponseBuilder setState(String state)
           
 
Methods inherited from class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
buildBodyMessage, buildHeaderMessage, buildJSONMessage, buildQueryMessage, setParam, setScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthResponse.OAuthErrorResponseBuilder

public OAuthResponse.OAuthErrorResponseBuilder(int responseCode)
Method Detail

error

public OAuthResponse.OAuthErrorResponseBuilder error(OAuthProblemException ex)

setError

public OAuthResponse.OAuthErrorResponseBuilder setError(String error)

setErrorDescription

public OAuthResponse.OAuthErrorResponseBuilder setErrorDescription(String desc)

setErrorUri

public OAuthResponse.OAuthErrorResponseBuilder setErrorUri(String state)

setState

public OAuthResponse.OAuthErrorResponseBuilder setState(String state)

setRealm

public OAuthResponse.OAuthErrorResponseBuilder setRealm(String realm)

location

public OAuthResponse.OAuthErrorResponseBuilder location(String location)
Overrides:
location in class OAuthResponse.OAuthResponseBuilder


Copyright © 2010. All Rights Reserved.