Package 

Class HttpServerResponse

  • All Implemented Interfaces:
    com.hexagonkt.http.model.HttpBase , com.hexagonkt.http.model.HttpMessage , com.hexagonkt.http.model.HttpResponse

    
    public final class HttpServerResponse
     implements HttpResponse
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Object body
      private final HttpFields<Header> headers
      private final ContentType contentType
      private final List<HttpCookie> cookies
      private final HttpStatus status
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpServerResponse(Object body, HttpFields<Header> headers, ContentType contentType, List<HttpCookie> cookies, HttpStatus status)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Object getBody()
      HttpFields<Header> getHeaders()
      ContentType getContentType()
      List<HttpCookie> getCookies()
      HttpStatus getStatus()
      • Methods inherited from class com.hexagonkt.http.model.HttpBase

        bodyString
      • Methods inherited from class com.hexagonkt.http.model.HttpMessage

        cookiesMap
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpServerResponse

        HttpServerResponse(Object body, HttpFields<Header> headers, ContentType contentType, List<HttpCookie> cookies, HttpStatus status)