public class DefaultMvcResponse extends Object implements MutableMvcResponse
| Modifier and Type | Field and Description |
|---|---|
protected DataType |
dataType |
protected Map<String,List<Object>> |
header |
protected Set<String> |
headerNames |
protected MvcRequest |
request |
protected Object |
result |
| Constructor and Description |
|---|
DefaultMvcResponse() |
| Modifier and Type | Method and Description |
|---|---|
MvcRequest |
getRequest() |
Object |
getResult() |
DataType |
getType() |
void |
process(Object object) |
OutputStream |
processStream() |
void |
setHeader(String name,
Object value) |
void |
setRequest(MvcRequest value) |
void |
setResult(Object value) |
void |
setType(DataType value) |
protected MvcRequest request
protected DataType dataType
protected Object result
public MvcRequest getRequest()
getRequest in interface MvcResponsepublic void process(Object object)
process in interface MvcResponsepublic OutputStream processStream() throws IOException
processStream in interface MvcResponseIOExceptionpublic void setHeader(String name, Object value)
setHeader in interface MvcResponsepublic DataType getType()
getType in interface MvcResponsepublic Object getResult()
getResult in interface MvcResponsepublic void setResult(Object value)
setResult in interface MutableMvcResponsepublic void setRequest(MvcRequest value)
setRequest in interface MutableMvcResponsepublic void setType(DataType value)
setType in interface MvcResponseCopyright © 2026 Brandao. All rights reserved.