public class GAuthProducer
extends org.apache.camel.impl.DefaultProducer
| Constructor and Description |
|---|
GAuthProducer(GAuthEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
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. |
createExchange, createExchange, createExchange, doStart, doStop, isSingleton, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic GAuthProducer(GAuthEndpoint endpoint)
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.ExceptionApache Camel