-
- All Implemented Interfaces:
-
com.hexagonkt.http.model.HttpBase,com.hexagonkt.http.model.HttpMessage,com.hexagonkt.http.model.HttpResponse
public final class HttpServerResponse implements HttpResponse
-
-
Constructor Summary
Constructors Constructor Description HttpServerResponse(Object body, MultiMap<String, String> headers, ContentType contentType, List<HttpCookie> cookies, HttpStatus status)
-
Method Summary
Modifier and Type Method Description ObjectgetBody()MultiMap<String, String>getHeaders()ContentTypegetContentType()List<HttpCookie>getCookies()HttpStatusgetStatus()-
-
Method Detail
-
getHeaders
MultiMap<String, String> getHeaders()
-
getContentType
ContentType getContentType()
-
getCookies
List<HttpCookie> getCookies()
-
getStatus
HttpStatus getStatus()
-
-
-
-