Class Response
- java.lang.Object
-
- com.lucidworks.apollo.pipeline.query.Response
-
public class Response extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description MultivaluedMap<java.lang.String,java.lang.String>
headers
java.lang.Object
initialEntity
Deprecated.
-
Constructor Summary
Constructors Constructor Description Response(MultivaluedMap<java.lang.String,java.lang.String> headers, AbstractResponse response)
Response(MultivaluedMap<java.lang.String,java.lang.String> headers, java.lang.Object entity)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Response
create(MultivaluedHashMap headers)
MultivaluedMap<java.lang.String,java.lang.String>
getHeaders()
AbstractResponse
getInnerResponse()
java.util.Optional<java.lang.Integer>
getStatusCode()
void
setStatusCode(int statusCode)
-
-
-
Field Detail
-
headers
public final MultivaluedMap<java.lang.String,java.lang.String> headers
-
initialEntity
@Deprecated public java.lang.Object initialEntity
Deprecated.
-
-
Constructor Detail
-
Response
public Response(MultivaluedMap<java.lang.String,java.lang.String> headers, AbstractResponse response)
-
Response
@Deprecated public Response(MultivaluedMap<java.lang.String,java.lang.String> headers, java.lang.Object entity)
Deprecated.
-
-
Method Detail
-
getInnerResponse
public AbstractResponse getInnerResponse()
-
create
public static Response create(MultivaluedHashMap headers)
-
getHeaders
public MultivaluedMap<java.lang.String,java.lang.String> getHeaders()
-
setStatusCode
public void setStatusCode(int statusCode)
-
getStatusCode
public java.util.Optional<java.lang.Integer> getStatusCode()
-
-