Package org.elasticsearch.http
Interface HttpResponse
-
public interface HttpResponse
A basic http response abstraction. Http modules must implement this interface as the server package rest handling needs to set http headers for a response.
-
-
Method Summary
Modifier and Type Method Description void
addHeader(java.lang.String name, java.lang.String value)
boolean
containsHeader(java.lang.String name)
-