public abstract class AbstractDelegate
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
protected ApiRequest |
apiRequest |
protected ApiRequestStore |
apiRequestStore |
protected CpServerObjectMapper |
objectMapper |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDelegate(CpServerObjectMapper objectMapper,
ApiRequest apiRequest,
ApiRequestStore apiRequestStore) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getPassword(java.lang.String callbackURL) |
static java.lang.String |
getUserName(java.lang.String callbackURL) |
protected abstract com.cosmicpush.pub.common.RequestStatus |
processRequest() |
void |
resend() |
void |
run() |
static java.lang.String |
stripAuthentication(java.lang.String callbackURL) |
protected final CpServerObjectMapper objectMapper
protected final ApiRequest apiRequest
protected final ApiRequestStore apiRequestStore
protected AbstractDelegate(CpServerObjectMapper objectMapper, ApiRequest apiRequest, ApiRequestStore apiRequestStore)
protected abstract com.cosmicpush.pub.common.RequestStatus processRequest()
throws java.lang.Exception
java.lang.Exceptionpublic final void run()
run in interface java.lang.Runnablepublic void resend()
public static java.lang.String getUserName(java.lang.String callbackURL)
public static java.lang.String getPassword(java.lang.String callbackURL)
public static java.lang.String stripAuthentication(java.lang.String callbackURL)