public class StatusPageIo extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ROOT_URL |
| Constructor and Description |
|---|
StatusPageIo(String rootUrl,
Secret apiKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
List<Component> |
listComponents(Page page) |
List<Page> |
listPages() |
public static final String DEFAULT_ROOT_URL
public StatusPageIo(@Nonnull String rootUrl, @CheckForNull Secret apiKey)
@Nonnull public List<Page> listPages() throws IOException
IOException@Nonnull public List<Component> listComponents(Page page) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2016–2021. All rights reserved.