public class RecursiveZipHandler extends Object implements DeltaHandler<ResourceNode>
| Constructor and Description |
|---|
RecursiveZipHandler(List<String> subResourceNames,
String collectionName,
DeltaHandler<ResourceNode> parentHandler)
Creates an new instance of the RecursiveZipHandler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(ResourceNode node) |
void |
storeXDeltaResponseHeader(String xDeltaResponseNumber)
Checks if the given x-delta number from the response is not null and
is higher then the already stored one.
|
public RecursiveZipHandler(List<String> subResourceNames, String collectionName, DeltaHandler<ResourceNode> parentHandler)
subResourceNames - subResourceNamescollectionName - collectionNameparentHandler - parentHandlerpublic void handle(ResourceNode node)
handle in interface io.vertx.core.Handler<ResourceNode>public void storeXDeltaResponseHeader(String xDeltaResponseNumber)
DeltaHandlerstoreXDeltaResponseHeader in interface DeltaHandler<ResourceNode>xDeltaResponseNumber - null or the current x-delta value from the response.Copyright © 2016–2018. All rights reserved.