@Deprecated public abstract static class ProxiedResource.MasterResponse<ResponseType> extends Object
ProxiedResource.NodeResponse.
Mind backward compatibility with existing plugins.| Constructor and Description |
|---|
MasterResponse()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
body()
Deprecated.
|
abstract int |
code()
Deprecated.
|
static <ResponseType> |
create(ProxiedResource.NodeResponse<ResponseType> nodeResponse)
Deprecated.
|
abstract Optional<ResponseType> |
entity()
Deprecated.
|
abstract Optional<byte[]> |
error()
Deprecated.
|
abstract boolean |
isSuccess()
Deprecated.
|
public abstract boolean isSuccess()
public abstract int code()
public abstract Optional<ResponseType> entity()
public abstract Optional<byte[]> error()
public Object body()
public static <ResponseType> ProxiedResource.MasterResponse<ResponseType> create(ProxiedResource.NodeResponse<ResponseType> nodeResponse)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.