Package | Description |
---|---|
com.microsoft.rest |
The package contains the runtime classes required for AutoRest generated
clients to compile and function.
|
com.microsoft.rest.interceptors |
The package contains default interceptors for making HTTP requests.
|
Modifier and Type | Method and Description |
---|---|
CustomHeadersInterceptor |
RestClient.headers() |
Modifier and Type | Method and Description |
---|---|
CustomHeadersInterceptor |
CustomHeadersInterceptor.addHeader(String name,
String value)
Add a single header key-value pair.
|
CustomHeadersInterceptor |
CustomHeadersInterceptor.addHeaderMap(Map<String,String> headers)
Add all headers in a header map.
|
CustomHeadersInterceptor |
CustomHeadersInterceptor.addHeaderMultimap(Map<String,List<String>> headers)
Add all headers in a header multimap.
|
CustomHeadersInterceptor |
CustomHeadersInterceptor.addHeaders(okhttp3.Headers headers)
Add all headers in a
Headers object. |
CustomHeadersInterceptor |
CustomHeadersInterceptor.removeHeader(String name)
Remove a header.
|
CustomHeadersInterceptor |
CustomHeadersInterceptor.replaceHeader(String name,
String value)
Add a single header key-value pair.
|
Copyright © 2019. All rights reserved.