Class CBRequest
- java.lang.Object
-
- org.oa4mp.delegation.server.request.IssuerRequest
-
- org.oa4mp.delegation.server.request.CBRequest
-
- All Implemented Interfaces:
Request
public class CBRequest extends IssuerRequest
Request to a callback server.
OAuth 1 specific.Created by Jeff Gaynor
on May 23, 2011 at 11:30:10 AM
-
-
Constructor Summary
Constructors Constructor Description CBRequest(ServiceTransaction transaction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationGrant
getAuthorizationGrant()
URI
getCallbackUri()
int
getConnectionTimeout()
How long should the issuer wait for a response to this request? A value of 0 (or less) means to accept whatever the defaults are for the underlying library.int
getType()
Verifier
getVerifier()
Response
process(Server server)
Process the requestvoid
setAuthorizationGrant(AuthorizationGrant authorizationGrant)
void
setCallbackUri(URI callbackUri)
void
setConnectionTimeout(int connectionTimeout)
void
setVerifier(Verifier verifier)
String
toString()
-
Methods inherited from class edu.uiuc.ncsa.oa4mp.delegation.server.request.IssuerRequest
getClient, getServletRequest, getTransaction, setServletRequest, setTransaction
-
-
-
-
Constructor Detail
-
CBRequest
public CBRequest(ServiceTransaction transaction)
-
-
Method Detail
-
getType
public int getType()
- Specified by:
getType
in classIssuerRequest
-
getConnectionTimeout
public int getConnectionTimeout()
How long should the issuer wait for a response to this request? A value of 0 (or less) means to accept whatever the defaults are for the underlying library.- Returns:
-
setConnectionTimeout
public void setConnectionTimeout(int connectionTimeout)
-
process
public Response process(Server server)
Description copied from interface:Request
Process the request- Specified by:
process
in interfaceRequest
- Overrides:
process
in classIssuerRequest
- Returns:
-
getAuthorizationGrant
public AuthorizationGrant getAuthorizationGrant()
-
setAuthorizationGrant
public void setAuthorizationGrant(AuthorizationGrant authorizationGrant)
-
getCallbackUri
public URI getCallbackUri()
-
setCallbackUri
public void setCallbackUri(URI callbackUri)
-
getVerifier
public Verifier getVerifier()
-
setVerifier
public void setVerifier(Verifier verifier)
-
-