Module io.avaje.jex

Class RedirectResponse

All Implemented Interfaces:
Serializable

public class RedirectResponse
extends HttpResponseException
See Also:
Serialized Form
  • Constructor Details

    • RedirectResponse

      public RedirectResponse​(String message)
      Redirect with the given message.
    • RedirectResponse

      public RedirectResponse​(int statusCode)
      Redirect with the given http status code.
    • RedirectResponse

      public RedirectResponse()
      Redirect with 302 http status code.