@Response(description="Redirect to servlet root") public class SeeOtherRoot extends SeeOther
SeeOther
for redirecting a response to the servlet root.Modifier and Type | Field and Description |
---|---|
static SeeOtherRoot |
INSTANCE
Reusable instance.
|
Constructor and Description |
---|
SeeOtherRoot()
Constructor.
|
SeeOtherRoot(String message)
Constructor with no redirect.
|
getLocation
toString
public static final SeeOtherRoot INSTANCE
public SeeOtherRoot()
public SeeOtherRoot(String message)
Used for end-to-end interfaces.
message
- Message to send as the response.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.