Class SeeOtherRoot

All Implemented Interfaces:
HttpResponseMessage

@Response @Schema(description="Redirect to servlet root") public class SeeOtherRoot extends SeeOther
Convenience subclass of SeeOther for redirecting a response to the servlet root.
See Also:
  • Field Details

  • Constructor Details

    • SeeOtherRoot

      public SeeOtherRoot()
      Constructor.
    • SeeOtherRoot

      public SeeOtherRoot(SeeOtherRoot copyFrom)
      Copy constructor.
      Parameters:
      copyFrom - The object to copy.
      Must not be null.
    • SeeOtherRoot

      public SeeOtherRoot(String content)
      Constructor with no redirect.

      Used for end-to-end interfaces.

      Parameters:
      content - Message to send as the response.
      Can be null for no response body.