net.smartam.leeloo.ext.dynamicreg.client.response
Class OAuthClientRegistrationResponse

java.lang.Object
  extended by net.smartam.leeloo.client.response.OAuthClientResponse
      extended by net.smartam.leeloo.ext.dynamicreg.client.response.OAuthClientRegistrationResponse

public class OAuthClientRegistrationResponse
extends OAuthClientResponse

Author:
Maciej Machulak, Lukasz Moren

Field Summary
 
Fields inherited from class net.smartam.leeloo.client.response.OAuthClientResponse
body, contentType, parameters, responseCode, validator
 
Constructor Summary
OAuthClientRegistrationResponse()
           
 
Method Summary
 String getClientId()
           
 String getClientSecret()
           
 String getExpiresIn()
           
 String getIssuedAt()
           
 String getParam(String param)
           
protected  void init(String body, String contentType, int responseCode)
           
protected  void setBody(String body)
           
protected  void setContentType(String contentType)
           
protected  void setResponseCode(int responseCode)
           
 
Methods inherited from class net.smartam.leeloo.client.response.OAuthClientResponse
validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthClientRegistrationResponse

public OAuthClientRegistrationResponse()
Method Detail

init

protected void init(String body,
                    String contentType,
                    int responseCode)
             throws OAuthProblemException
Overrides:
init in class OAuthClientResponse
Throws:
OAuthProblemException

getParam

public String getParam(String param)
Specified by:
getParam in class OAuthClientResponse

setBody

protected void setBody(String body)
                throws OAuthProblemException
Specified by:
setBody in class OAuthClientResponse
Throws:
OAuthProblemException

setResponseCode

protected void setResponseCode(int responseCode)
Specified by:
setResponseCode in class OAuthClientResponse

setContentType

protected void setContentType(String contentType)
Specified by:
setContentType in class OAuthClientResponse

getClientId

public String getClientId()

getClientSecret

public String getClientSecret()

getIssuedAt

public String getIssuedAt()

getExpiresIn

public String getExpiresIn()


Copyright © 2010. All Rights Reserved.