public abstract class AbstractDelegate
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
protected ExecutionContext |
executionContext |
protected org.tiogasolutions.push.jackson.PushObjectMapper |
objectMapper |
protected PushRequest |
pushRequest |
protected PushRequestStore |
pushRequestStore |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDelegate(ExecutionContext executionContext,
org.tiogasolutions.push.jackson.PushObjectMapper objectMapper,
PushRequestStore pushRequestStore,
PushRequest pushRequest) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(boolean retry) |
static java.lang.String |
getPassword(java.lang.String callbackURL) |
static java.lang.String |
getUserName(java.lang.String callbackURL) |
protected abstract org.tiogasolutions.push.pub.common.RequestStatus |
processRequest() |
void |
retry() |
void |
run() |
void |
start() |
static java.lang.String |
stripAuthentication(java.lang.String callbackURL) |
protected final ExecutionContext executionContext
protected final org.tiogasolutions.push.jackson.PushObjectMapper objectMapper
protected final PushRequest pushRequest
protected final PushRequestStore pushRequestStore
protected AbstractDelegate(ExecutionContext executionContext, org.tiogasolutions.push.jackson.PushObjectMapper objectMapper, PushRequestStore pushRequestStore, PushRequest pushRequest)
protected abstract org.tiogasolutions.push.pub.common.RequestStatus processRequest()
throws java.lang.Exception
java.lang.Exceptionpublic final void run()
run in interface java.lang.Runnablepublic void retry()
public boolean execute(boolean retry)
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)
public void start()