| Package | Description |
|---|---|
| com.atlassian.marketplace.client.http |
Interfaces and classes related to the HTTP transport layer.
|
| com.atlassian.marketplace.client.impl |
Internal implementation of Marketplace client APIs.
|
| Modifier and Type | Method and Description |
|---|---|
static RequestDecorator |
RequestDecorator.Instances.forHeaders(Map<String,String> headers)
Returns a
RequestDecorator instance that always adds the same constant header values. |
| Modifier and Type | Method and Description |
|---|---|
io.atlassian.fugue.Option<RequestDecorator> |
HttpConfiguration.getRequestDecorator() |
| Modifier and Type | Method and Description |
|---|---|
HttpTransport |
HttpTransport.withRequestDecorator(RequestDecorator decorator)
Returns another
HttpTransport instance that behaves the same as this one except that
it adds headers from the specified RequestDecorator to every request (in
addition to any headers previously specified in the defaults). |
| Modifier and Type | Method and Description |
|---|---|
HttpConfiguration.Builder |
HttpConfiguration.Builder.requestDecorator(io.atlassian.fugue.Option<RequestDecorator> requestDecorator)
Specifies an object that can provide custom headers for HTTP requests, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
HttpTransport |
CommonsHttpTransport.withRequestDecorator(RequestDecorator decorator) |
Copyright © 2019 Atlassian. All rights reserved.