|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.gae.auth.GAuthProducer
public class GAuthProducer
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.impl.DefaultProducer |
|---|
log |
| Fields inherited from class org.apache.camel.support.ServiceSupport |
|---|
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
| Constructor Summary | |
|---|---|
GAuthProducer(GAuthEndpoint endpoint)
|
|
| Method Summary | |
|---|---|
OutboundBinding<GAuthEndpoint,com.google.gdata.client.authn.oauth.GoogleOAuthParameters,com.google.gdata.client.authn.oauth.GoogleOAuthParameters> |
getAuthorizeBinding()
|
GAuthEndpoint |
getEndpoint()
|
OutboundBinding<GAuthEndpoint,com.google.gdata.client.authn.oauth.GoogleOAuthParameters,com.google.gdata.client.authn.oauth.GoogleOAuthParameters> |
getUpgradeBinding()
|
void |
process(org.apache.camel.Exchange exchange)
Depending on the GAuthEndpoint.Name, this method either fetches
an unauthorized request token and creates a redirect response, or
upgrades an authorized request token to an access token. |
| Methods inherited from class org.apache.camel.impl.DefaultProducer |
|---|
createExchange, createExchange, createExchange, doStart, doStop, isSingleton, toString |
| Methods inherited from class org.apache.camel.support.ServiceSupport |
|---|
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.camel.Service |
|---|
start, stop |
| Constructor Detail |
|---|
public GAuthProducer(GAuthEndpoint endpoint)
| Method Detail |
|---|
public GAuthEndpoint getEndpoint()
getEndpoint in interface org.apache.camel.ProducergetEndpoint in class org.apache.camel.impl.DefaultProducerpublic OutboundBinding<GAuthEndpoint,com.google.gdata.client.authn.oauth.GoogleOAuthParameters,com.google.gdata.client.authn.oauth.GoogleOAuthParameters> getAuthorizeBinding()
public OutboundBinding<GAuthEndpoint,com.google.gdata.client.authn.oauth.GoogleOAuthParameters,com.google.gdata.client.authn.oauth.GoogleOAuthParameters> getUpgradeBinding()
public void process(org.apache.camel.Exchange exchange)
throws Exception
GAuthEndpoint.Name, this method either fetches
an unauthorized request token and creates a redirect response, or
upgrades an authorized request token to an access token.
exchange -
ExceptionGAuthAuthorizeBinding,
GAuthUpgradeBinding,
GAuthServiceImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||