Interface RedirectResponse

All Superinterfaces:
Response

public interface RedirectResponse extends Response
Decorator for the Response interface adding the capacity for components using this interface to send redirects.
Since:
10.0
Version:
$Id: 4438d34a36d1b00738a37dd9e09951d50aa2db18 $
  • Method Details

    • sendRedirect

      void sendRedirect(String location) throws IOException
      Sends a temporary redirect response to the client using the specified redirect location URL.
      Parameters:
      location - the redirect URL
      Throws:
      IOException - if an error happens