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

com.paypal.sdk.logging.configuration.ReadonlyRequestLoggingConfiguration Maven / Gradle / Ivy

/*
 * PaypalServerSDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */

package com.paypal.sdk.logging.configuration;

import java.util.List;

/**
 * Interface to hold request logging configuration.
 */
public interface ReadonlyRequestLoggingConfiguration {

    /**
     * Checks if logging of request body is enabled.
     * @return True if logging of request body is enabled, otherwise false.
     */
    boolean shouldLogBody();

    /**
     * Checks if logging of request headers is enabled.
     * @return True if logging of request headers is enabled, otherwise false.
     */
    boolean shouldLogHeaders();

    /**
     * Gets the list of headers to include in logging.
     * @return An unmodifiable list of headers to include.
     */
    List getHeadersToInclude();

    /**
     * Gets the list of headers to exclude from logging.
     * @return An unmodifiable list of headers to exclude.
     */
    List getHeadersToExclude();

    /**
     * Checks if logging of query parameters is required
     * @return True if logging of query parameters enabled, otherwise false.
     */
    boolean shouldIncludeQueryInPath();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy