public class Output extends Object
Used to configure responses.
Modifier and Type | Field and Description |
---|---|
protected Boolean |
fail |
protected String |
forward |
protected Header |
header |
protected Redirect |
redirect |
Constructor and Description |
---|
Output() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getForward()
Get the forward of the output.
|
Header |
getHeader()
Get the header of the output.
|
Redirect |
getRedirect()
Get the redirect of the output.
|
int |
hashCode() |
Boolean |
isFail()
Get the fail of the output.
|
void |
setFail(Boolean value)
Set the fail of the output.
|
void |
setForward(String value)
Set the forward of the output.
|
void |
setHeader(Header value)
Set the header of the output.
|
void |
setRedirect(Redirect value)
Set the redirect of the output.
|
protected String forward
protected Header header
protected Redirect redirect
protected Boolean fail
public String getForward()
public void setForward(String value)
value
- The forward of the outputpublic Header getHeader()
public void setHeader(Header value)
value
- The header of the outputpublic Redirect getRedirect()
public void setRedirect(Redirect value)
value
- The redirect of the outputpublic Boolean isFail()
public void setFail(Boolean value)
value
- The fail of the outputCopyright © 2016. All Rights Reserved.