| Package | Description |
|---|---|
| org.graylog2.shared.rest.resources |
| Modifier and Type | Method and Description |
|---|---|
static <ResponseType> |
ProxiedResource.NodeResponse.create(boolean isSuccess,
int code,
ResponseType entity,
byte[] error) |
protected <RemoteInterfaceType,RemoteCallResponseType> |
ProxiedResource.requestOnLeader(Function<RemoteInterfaceType,retrofit2.Call<RemoteCallResponseType>> remoteInterfaceFunction,
Function<String,Optional<RemoteInterfaceType>> remoteInterfaceProvider)
Execute the given remote interface function on the leader node.
|
abstract ProxiedResource.NodeResponse<ResponseType> |
ProxiedResource.CallResult.response() |
| Modifier and Type | Method and Description |
|---|---|
static <ResponseType> |
ProxiedResource.MasterResponse.create(ProxiedResource.NodeResponse<ResponseType> nodeResponse)
Deprecated.
|
static <ResponseType> |
ProxiedResource.CallResult.success(ProxiedResource.NodeResponse<ResponseType> response) |
Copyright © 2012–2022 Graylog, Inc.. All rights reserved.