Interface IntoResponse


public interface IntoResponse
Something which can be converted into a Response.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.microhttp.Response
    Converts this object into a Response.
  • Method Details

    • intoResponse

      org.microhttp.Response intoResponse()
      Converts this object into a Response.

      This should generally be treated as a terminal operation like AutoCloseable.close(), but the specifics of that are up to the implementing class.

      Returns:
      A Response.