const classafBedSheet::Redirect
sys::Obj afBedSheet::Redirect
Return from request handler methods to send a redirect 3xx status to the client. Handles the differences in HTTP 1.0 and HTTP 1.1.
@see
- afterPost
- static new afterPost(Uri redirectTo)- Use when the client should perform a HTTP GET on the returned uri. Typically this is when the app subscribes to the - Redirect After Postparadigm.- 302 for HTTP 1.0
- 303 for HTTP 1.1
 
- movedPermanently
- static new movedPermanently(Uri redirectTo)- Sends a - Moved Permanentlyresponse to the client with the following status codes:- 301 for HTTP 1.0
- 308 for HTTP 1.1
 - The client should use the same HTTP method when requesting the redirect. 
- movedTemporarily
- static new movedTemporarily(Uri redirectTo)- Sends a - Moved Temporarilyresponse to the client with the following status codes:- 302 for HTTP 1.0
- 307 for HTTP 1.1
 - The client should use the same HTTP method when requesting the redirect. 
- toStr
- virtual override Str toStr()
- uri
- const Uri uri- The URI to redirect to