Package com.io7m.idstore.server.http

# Interface IdHTTPServletResponseType

All Known Implementing Classes:
  `IdHTTPServletResponseFixedSize`, `IdHTTPServletResponseRedirect`

public sealed interface IdHTTPServletResponseType permits IdHTTPServletResponseFixedSize, IdHTTPServletResponseRedirect
The type of functional servlet responses.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `OptionalLong`
  `contentLengthOptional()`
  `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