Package io.javalin.mock.servlet
Class HttpServletResponseMock.ResponseState
-
- All Implemented Interfaces:
public final class HttpServletResponseMock.ResponseState
-
-
Field Summary
Fields Modifier and Type Field Description private final ServletOutputStreamImplservletOutputStreampublic StringcharacterEncodingpublic StringcontentTypepublic ByteArrayOutputStreamoutputStreampublic LongcontentLengthpublic IntegerbufferSizepublic Localelocalepublic Map<String, String>headerspublic HttpServletResponseMock.Errorerrorpublic StringredirectUrlpublic Integerstatus
-
Constructor Summary
Constructors Constructor Description HttpServletResponseMock.ResponseState(String characterEncoding, String contentType, ByteArrayOutputStream outputStream, Long contentLength, Integer bufferSize, Locale locale, Map<String, String> headers, HttpServletResponseMock.Error error, String redirectUrl, Integer status)
-
Method Summary
Modifier and Type Method Description final ServletOutputStreamImplgetServletOutputStream()-
-
Constructor Detail
-
HttpServletResponseMock.ResponseState
HttpServletResponseMock.ResponseState(String characterEncoding, String contentType, ByteArrayOutputStream outputStream, Long contentLength, Integer bufferSize, Locale locale, Map<String, String> headers, HttpServletResponseMock.Error error, String redirectUrl, Integer status)
-
-
Method Detail
-
getServletOutputStream
final ServletOutputStreamImpl getServletOutputStream()
-
-
-
-