public class DefaultMvcRequest extends Object implements MutableMvcRequest
Modifier and Type | Field and Description |
---|---|
protected List<DataType> |
acceptResponse |
protected Object[] |
actionParameters |
protected ApplicationContext |
applicationContext |
protected DataType |
dataType |
protected String |
encoding |
protected Map<String,List<Object>> |
header |
protected Set<String> |
headerNames |
protected Set<String> |
parameterNames |
protected Map<String,List<Object>> |
parameters |
protected Map<String,List<Object>> |
properties |
protected Set<String> |
propertyNames |
protected String |
requestId |
protected RequestInstrument |
requestInstrument |
protected RequestParser |
requestParser |
protected RequestParserEvent |
requestParserInfo |
protected Object |
resource |
protected ResourceAction |
resourceAction |
protected StackRequestElement |
stackRequestElement |
protected Throwable |
throwable |
Constructor and Description |
---|
DefaultMvcRequest() |
protected String encoding
protected RequestParserEvent requestParserInfo
protected RequestParser requestParser
protected String requestId
protected Throwable throwable
protected DataType dataType
protected ResourceAction resourceAction
protected ApplicationContext applicationContext
protected Object resource
protected Object[] actionParameters
protected RequestInstrument requestInstrument
protected StackRequestElement stackRequestElement
public String getRequestId()
getRequestId
in interface MvcRequest
public void setRequestId(String requestId)
setRequestId
in interface MutableMvcRequest
public Throwable getThrowable()
getThrowable
in interface MvcRequest
public Object getHeader(String value)
getHeader
in interface MvcRequest
public Object getParameter(String name)
getParameter
in interface MvcRequest
public Object getParameterObject(String name)
getParameterObject
in interface MvcRequest
public List<Object> getParameters(String name)
getParameters
in interface MvcRequest
public Object getProperty(String name)
getProperty
in interface MvcRequest
public InputStream getStream() throws IOException
getStream
in interface MvcRequest
IOException
public String getEncoding()
getEncoding
in interface MvcRequest
public void setEncoding(String encoding)
setEncoding
in interface MutableMvcRequest
public Set<String> getPropertiesNames()
getPropertiesNames
in interface MvcRequest
public Set<String> getHeadersNames()
getHeadersNames
in interface MvcRequest
public Set<String> getParametersNames()
getParametersNames
in interface MvcRequest
public DataType getType()
getType
in interface MvcRequest
public ResourceAction getResourceAction()
getResourceAction
in interface MvcRequest
public ApplicationContext getApplicationContext()
getApplicationContext
in interface MvcRequest
public Object getResource()
getResource
in interface MvcRequest
public Object[] getParameters()
getParameters
in interface MvcRequest
public RequestInstrument getRequestInstrument()
getRequestInstrument
in interface MvcRequest
public StackRequestElement getStackRequestElement()
getStackRequestElement
in interface MvcRequest
public void setThrowable(Throwable value)
setThrowable
in interface MutableMvcRequest
public void setHeader(String name, Object value)
setHeader
in interface MutableMvcRequest
public void setParameter(String name, String value)
setParameter
in interface MutableMvcRequest
public void setParameters(String name, String[] values)
setParameters
in interface MutableMvcRequest
public void setParameter(String name, Object value)
setParameter
in interface MutableMvcRequest
public void setParameters(String name, Object[] value)
setParameters
in interface MutableMvcRequest
public void setParameters(Object[] value)
setParameters
in interface MutableMvcRequest
public void setProperty(String name, Object value)
setProperty
in interface MutableMvcRequest
public void setType(DataType value)
setType
in interface MutableMvcRequest
public void setResourceAction(ResourceAction value)
setResourceAction
in interface MutableMvcRequest
public void setApplicationContext(ApplicationContext value)
setApplicationContext
in interface MutableMvcRequest
public void setResource(Object value)
setResource
in interface MutableMvcRequest
public void setRequestInstrument(RequestInstrument value)
setRequestInstrument
in interface MutableMvcRequest
public void setStackRequestElement(StackRequestElement value)
setStackRequestElement
in interface MutableMvcRequest
public void setRequestParserInfo(RequestParserEvent value)
setRequestParserInfo
in interface MutableMvcRequest
public void setRequestParser(RequestParser value)
setRequestParser
in interface MutableMvcRequest
public RequestParserEvent getRequestParserInfo()
getRequestParserInfo
in interface MvcRequest
public RequestParser getRequestParser()
getRequestParser
in interface MvcRequest
public void setAcceptResponse(List<DataType> value)
setAcceptResponse
in interface MutableMvcRequest
public List<DataType> getAcceptResponse()
getAcceptResponse
in interface MvcRequest
Copyright © 2018 Brandao. All rights reserved.