Class ETagCloudEntityApplier
- java.lang.Object
-
- pl.grizzlysoftware.dotykacka.util.ETagCloudEntityApplier
-
- All Implemented Interfaces:
OnRetrofitCallExecutionListener
public class ETagCloudEntityApplier extends java.lang.Object implements OnRetrofitCallExecutionListener
-
-
Constructor Summary
Constructors Constructor Description ETagCloudEntityApplier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringadjustEtag(java.lang.String etag)<T> voidapplyEtag(T body, java.lang.String etag)protected voidapplyOnEntities(java.lang.Object entities, java.lang.String etag)protected voidapplyOnEntity(java.lang.Object entity, java.lang.String etag)<T> voidonAfterExecution(retrofit2.Call<T> call, retrofit2.Response<T> response)<T> voidonBeforeExecution(retrofit2.Call<T> call)<T> voidonExecutionSuccessful(retrofit2.Call<T> call, retrofit2.Response<T> response)
-
-
-
Method Detail
-
onBeforeExecution
public <T> void onBeforeExecution(retrofit2.Call<T> call)
- Specified by:
onBeforeExecutionin interfaceOnRetrofitCallExecutionListener
-
onAfterExecution
public <T> void onAfterExecution(retrofit2.Call<T> call, retrofit2.Response<T> response)- Specified by:
onAfterExecutionin interfaceOnRetrofitCallExecutionListener
-
onExecutionSuccessful
public <T> void onExecutionSuccessful(retrofit2.Call<T> call, retrofit2.Response<T> response)- Specified by:
onExecutionSuccessfulin interfaceOnRetrofitCallExecutionListener
-
applyEtag
public <T> void applyEtag(T body, java.lang.String etag)
-
adjustEtag
protected java.lang.String adjustEtag(java.lang.String etag)
-
applyOnEntity
protected void applyOnEntity(java.lang.Object entity, java.lang.String etag)
-
applyOnEntities
protected void applyOnEntities(java.lang.Object entities, java.lang.String etag)
-
-