-
- All Implemented Interfaces:
-
com.hexagonkt.http.model.HttpBase,com.hexagonkt.http.model.HttpMessage,com.hexagonkt.http.model.HttpResponse
public final class HttpServerResponse implements HttpResponse
-
-
Field Summary
Fields Modifier and Type Field Description private final Objectbodyprivate final HttpFields<Header>headersprivate final ContentTypecontentTypeprivate final List<HttpCookie>cookiesprivate final HttpStatusstatus
-
Constructor Summary
Constructors Constructor Description HttpServerResponse(Object body, HttpFields<Header> headers, ContentType contentType, List<HttpCookie> cookies, HttpStatus status)
-
Method Summary
Modifier and Type Method Description ObjectgetBody()HttpFields<Header>getHeaders()ContentTypegetContentType()List<HttpCookie>getCookies()HttpStatusgetStatus()-
-
Method Detail
-
getBody
Object getBody()
-
getHeaders
HttpFields<Header> getHeaders()
-
getContentType
ContentType getContentType()
-
getCookies
List<HttpCookie> getCookies()
-
getStatus
HttpStatus getStatus()
-
-
-
-