protected static class WeaveServlet.ServletRequestInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
JsonRpcRequestModel |
currentJsonRequest |
PeekableInputStream |
inputStream |
java.lang.Boolean |
isBatchRequest |
java.util.List<JsonRpcResponseModel> |
jsonResponses |
boolean |
prettyPrinting |
javax.servlet.http.HttpServletRequest |
request |
javax.servlet.http.HttpServletResponse |
response |
boolean |
setContentType |
java.lang.Number |
streamParameterIndex |
Constructor and Description |
---|
WeaveServlet.ServletRequestInfo(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
javax.servlet.ServletOutputStream |
getOutputStream()
It's important to use this function to get the ServletOutputStream instead of response.getOutputStream(), which can only be called once per request.
|
public javax.servlet.http.HttpServletRequest request
public javax.servlet.http.HttpServletResponse response
public JsonRpcRequestModel currentJsonRequest
public java.util.List<JsonRpcResponseModel> jsonResponses
public java.lang.Number streamParameterIndex
public PeekableInputStream inputStream
public java.lang.Boolean isBatchRequest
public boolean prettyPrinting
public boolean setContentType
public WeaveServlet.ServletRequestInfo(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
java.io.IOException
public javax.servlet.ServletOutputStream getOutputStream() throws java.io.IOException
java.io.IOException