|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpClientFactory
Creates configured instances of HttpClient
| Method Summary | |
|---|---|
HttpClient |
create(HttpClientOptions options)
Creates a new instance of HttpClient |
HttpClient |
create(HttpClientOptions options,
com.atlassian.sal.api.executor.ThreadLocalContextManager threadLocalContextManager)
Creates a new instance of HttpClient |
void |
dispose(HttpClient httpClient)
Disposes the given instance of HttpClient |
| Method Detail |
|---|
@NotNull
HttpClient create(@NotNull
HttpClientOptions options)
HttpClient
options - The http client options. Cannot be null.
create(HttpClientOptions, ThreadLocalContextManager)
@NotNull
HttpClient create(@NotNull
HttpClientOptions options,
@NotNull
com.atlassian.sal.api.executor.ThreadLocalContextManager threadLocalContextManager)
HttpClient
options - The http client options. Cannot be null.threadLocalContextManager - the manager for thread local variables. Cannot be null.
create(HttpClientOptions)
void dispose(@NotNull
HttpClient httpClient)
throws Exception
HttpClient
httpClient - The httpClient to dispose. Cannot be null.
Exception - in case of shutdown errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||