org.apache.camel.component.salesforce.internal.client
Class SalesforceSecurityListener
java.lang.Object
org.eclipse.jetty.client.HttpEventListenerWrapper
org.apache.camel.component.salesforce.internal.client.SalesforceSecurityListener
- All Implemented Interfaces:
- org.eclipse.jetty.client.HttpEventListener
public class SalesforceSecurityListener
- extends org.eclipse.jetty.client.HttpEventListenerWrapper
Methods inherited from class org.eclipse.jetty.client.HttpEventListenerWrapper |
getEventListener, isDelegatingRequests, isDelegatingResponses, onExpire, onRequestCommitted, onResponseContent, onResponseHeader, onResponseHeaderComplete, setDelegatingRequests, setDelegatingResponses, setDelegationResult, setEventListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SalesforceSecurityListener
public SalesforceSecurityListener(org.eclipse.jetty.client.HttpDestination destination,
org.eclipse.jetty.client.HttpExchange exchange,
SalesforceSession session,
String accessToken)
onResponseStatus
public void onResponseStatus(org.eclipse.jetty.io.Buffer version,
int status,
org.eclipse.jetty.io.Buffer reason)
throws IOException
- Specified by:
onResponseStatus
in interface org.eclipse.jetty.client.HttpEventListener
- Overrides:
onResponseStatus
in class org.eclipse.jetty.client.HttpEventListenerWrapper
- Throws:
IOException
onRequestComplete
public void onRequestComplete()
throws IOException
- Specified by:
onRequestComplete
in interface org.eclipse.jetty.client.HttpEventListener
- Overrides:
onRequestComplete
in class org.eclipse.jetty.client.HttpEventListenerWrapper
- Throws:
IOException
onResponseComplete
public void onResponseComplete()
throws IOException
- Specified by:
onResponseComplete
in interface org.eclipse.jetty.client.HttpEventListener
- Overrides:
onResponseComplete
in class org.eclipse.jetty.client.HttpEventListenerWrapper
- Throws:
IOException
onRetry
public void onRetry()
- Specified by:
onRetry
in interface org.eclipse.jetty.client.HttpEventListener
- Overrides:
onRetry
in class org.eclipse.jetty.client.HttpEventListenerWrapper
onConnectionFailed
public void onConnectionFailed(Throwable ex)
- Specified by:
onConnectionFailed
in interface org.eclipse.jetty.client.HttpEventListener
- Overrides:
onConnectionFailed
in class org.eclipse.jetty.client.HttpEventListenerWrapper
onException
public void onException(Throwable ex)
- Specified by:
onException
in interface org.eclipse.jetty.client.HttpEventListener
- Overrides:
onException
in class org.eclipse.jetty.client.HttpEventListenerWrapper
Apache Camel