All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.swisspush.gateleen.expansion.DeltaHandler Maven / Gradle / Ivy

There is a newer version: 2.1.13
Show newest version
package org.swisspush.gateleen.expansion;

import io.vertx.core.Handler;

/**
 * An extension of the default Handler interface in order to have
 * the possibility to save x-delta response headers.
 * 
 * @author https://github.com/ljucam [Mario Ljuca]
 * @param 
 */
public interface DeltaHandler extends Handler {

    /**
     * Checks if the given x-delta number from the response is not null and
     * is higher then the already stored one. If so the number is set otherwise
     * not.
     * 
     * @param xdeltaResponseNumber null or the current x-delta value from the response.
     */
    void storeXDeltaResponseHeader(String xdeltaResponseNumber);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy