public class RestClientFixture extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
RestClientFixture.Builder
A builder for the rest client.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
javax.ws.rs.core.MultivaluedMap<String,String> |
getResponseHeaders(String relativeResourcePath) |
StatusResources.OptionWrapper |
getStatusInternalOption(String name)
Gets the internal option corresponding to the given name.
|
List<StatusResources.OptionWrapper> |
getStatusInternalOptions() |
StatusResources.OptionWrapper |
getStatusOption(String name)
Gets the external option corresponding to the given name.
|
List<StatusResources.OptionWrapper> |
getStatusOptions()
Gets all the external options from the rest api.
|
public List<StatusResources.OptionWrapper> getStatusOptions()
public List<StatusResources.OptionWrapper> getStatusInternalOptions()
public javax.ws.rs.core.MultivaluedMap<String,String> getResponseHeaders(String relativeResourcePath)
@Nullable public StatusResources.OptionWrapper getStatusOption(String name)
name - The name of the external option to retrieve.@Nullable public StatusResources.OptionWrapper getStatusInternalOption(String name)
name - The name of the internal option to retrieve.public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.