Package com.io7m.idstore.server.http

# Interface IdHTTPResponseType

All Known Implementing Classes:
  `IdHTTPResponseFixedSize`, `IdHTTPResponseRedirect`

public sealed interface IdHTTPResponseType permits IdHTTPResponseFixedSize, IdHTTPResponseRedirect
The type of functional servlet responses.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `OptionalLong`
  `contentLengthOptional()`
  `Set<IdHTTPCookieDeclaration>`
  `cookies()`
  `int`
  `statusCode()`

- ## Method Details

  - ### statusCode

    int statusCode()
    Returns:
      The response status code

  - ### contentLengthOptional

    OptionalLong contentLengthOptional()
    Returns:
      The length of the content, if one is known

  - ### cookies

    Set<IdHTTPCookieDeclaration> cookies()
    Returns:
      The cookies to set