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

com.here.account.olp.OlpHttpMessage Maven / Gradle / Ivy

package com.here.account.olp;

public interface OlpHttpMessage {
    String X_CORRELATION_ID = "X-Correlation-ID";

    /**
     * Get the correlationId (the unique value for tracking a request across services and within a service).
     *
     * @return the correlationId
     */
    String getCorrelationId();

    /**
     * Set the correlationId (the unique value for tracking a request across services and within a service).
     *
     * @param correlationId     the correlationId
     * @return                  the class implementing this method. Allows chaining methods,
     *                          e.g. classInstance.setCorrelationId("abc123").setFoo().setBar()
     */
    OlpHttpMessage setCorrelationId(String correlationId);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy