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

com.microsoft.aad.msal4j.IHttpResponse Maven / Gradle / Ivy

There is a newer version: 1.0.15
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.microsoft.aad.msal4j;

import java.util.List;
import java.util.Map;

/**
 * HTTP response from execution of {@link HttpRequest} in {@link IHttpClient}
 */
public interface IHttpResponse {

    /**
     * @return HTTP response status code.
     */
    int statusCode();

    /**
     * @return HTTP response headers
     */
    Map> headers();

    /**
     * @return HTTP response body
     */
    String body();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy