Class ActionResponse.Empty

All Implemented Interfaces:
Writeable, RefCounted
Enclosing class:
ActionResponse

public static final class ActionResponse.Empty extends ActionResponse
A response with no payload. This is deliberately not an implementation of ToXContent or similar because an empty response has no valid XContent representation. Use EmptyResponseListener to convert this to a valid (plain-text) REST response instead.