Package org.xwiki.container
Interface RedirectResponse
- All Superinterfaces:
Response
Decorator for the
Response interface adding the capacity for components using this interface to send
redirects.- Since:
- 10.0
- Version:
- $Id: 4438d34a36d1b00738a37dd9e09951d50aa2db18 $
-
Method Summary
Modifier and TypeMethodDescriptionvoidsendRedirect(String location) Sends a temporary redirect response to the client using the specified redirect location URL.Methods inherited from interface org.xwiki.container.Response
getOutputStream, setContentLength, setContentType
-
Method Details
-
sendRedirect
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
-