IHttpClient Gränssnitt

public interface IHttpClient

Gränssnitt som ska implementeras när http-klienten konfigureras för IPublicClientApplication eller IConfidentialClientApplication.

Mer information finns i https://aka.ms/msal4j-http-client

Metodsammanfattning

Modifierare och typ Metod och beskrivning
abstract IHttpResponse send(HttpRequest httpRequest)

Bör implementera körning av utgående HTTP-begäran med VALFRI HTTP-klient.

Metodinformation

send

public abstract IHttpResponse send(HttpRequest httpRequest)

Bör implementera körning av utgående HTTP-begäran med VALFRI HTTP-klient. Anpassar svar som returneras från HTTP-klienten till IHttpResponse

Parametrar:

httpRequest - HttpRequest

Returer:

Kast:

java.lang.Exception - Undantag som inte kan återställas. Återställningsbara undantag ska hanteras av IHttpClient-implementeringen

Gäller för