diff --git a/client/rest/src/main/java/org/elasticsearch/client/Response.java b/client/rest/src/main/java/org/elasticsearch/client/Response.java index 91ca0a6c935..7edaa49c2ea 100644 --- a/client/rest/src/main/java/org/elasticsearch/client/Response.java +++ b/client/rest/src/main/java/org/elasticsearch/client/Response.java @@ -32,7 +32,7 @@ import java.util.Objects; * Holds an elasticsearch response. It wraps the {@link HttpResponse} returned and associates it with * its corresponding {@link RequestLine} and {@link HttpHost}. */ -public class Response { +public final class Response { private final RequestLine requestLine; private final HttpHost host;