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

com.atlan.net.AtlanResponse Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
/* SPDX-License-Identifier: Apache-2.0
   Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.net;

/* Based on original code from https://github.com/stripe/stripe-java (under MIT license) */

/** A response from Atlan's API, with body represented as a String. */
public class AtlanResponse extends AbstractAtlanResponse {
    /**
     * Initializes a new instance of the {@link AtlanResponse} class.
     *
     * @param code the HTTP status code of the response
     * @param headers the HTTP headers of the response
     * @param body the body of the response
     * @throws NullPointerException if {@code headers} or {@code body} is {@code null}
     */
    public AtlanResponse(int code, HttpHeaders headers, String body) {
        super(code, headers, body);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy