com.eclipsesource.restfuse
Interface Response

All Known Implementing Classes:
ResponseImpl

public interface Response

A Response acts as a wrapper for an http response.


Method Summary
<T> T
getBody(java.lang.Class<T> type)
           
 java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders()
           
 int getStatus()
           
 MediaType getType()
           
 boolean hasBody()
           
 

Method Detail

getBody

<T> T getBody(java.lang.Class<T> type)

getHeaders

java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders()

getStatus

int getStatus()

getType

MediaType getType()

hasBody

boolean hasBody()