org.apache.oltu.oauth2.ext.dynamicreg.client.response
Class OAuthClientRegistrationResponse

java.lang.Object
  extended by org.apache.oltu.oauth2.client.response.OAuthClientResponse
      extended by org.apache.oltu.oauth2.ext.dynamicreg.client.response.OAuthClientRegistrationResponse

public class OAuthClientRegistrationResponse
extends OAuthClientResponse


Field Summary
 
Fields inherited from class org.apache.oltu.oauth2.client.response.OAuthClientResponse
body, contentType, parameters, responseCode, validator
 
Constructor Summary
OAuthClientRegistrationResponse()
           
 
Method Summary
 String getClientId()
           
 String getClientSecret()
           
 Long getExpiresIn()
           
 String getIssuedAt()
           
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 org.apache.oltu.oauth2.client.response.OAuthClientResponse
getParam, 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

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 Long getExpiresIn()


Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.