MCPcopy Create free account
hub / github.com/apache/tomcat / Response

Class Response

java/org/apache/catalina/connector/Response.java:67–1633  ·  view source on GitHub ↗

Wrapper object for the Coyote response.

Source from the content-addressed store, hash-verified

65 * Wrapper object for the Coyote response.
66 */
67public class Response implements HttpServletResponse {
68
69 private static final Log log = LogFactory.getLog(Response.class);
70
71 /**
72 * String manager for this class.
73 */
74 protected static final StringManager sm = StringManager.getManager(Response.class);
75
76 private static final MediaTypeCache MEDIA_TYPE_CACHE = new MediaTypeCache(100);
77
78 protected static final int SC_EARLY_HINTS = 103;
79
80 /**
81 * Coyote response.
82 */
83 protected final org.apache.coyote.Response coyoteResponse;
84
85
86 /**
87 * The associated output buffer.
88 */
89 protected final OutputBuffer outputBuffer;
90
91
92 /**
93 * The associated output stream.
94 */
95 protected CoyoteOutputStream outputStream;
96
97
98 /**
99 * The associated writer.
100 */
101 protected CoyoteWriter writer;
102
103
104 /**
105 * The application commit flag.
106 */
107 protected boolean appCommitted = false;
108
109
110 /**
111 * The included flag.
112 */
113 protected boolean included = false;
114
115
116 /**
117 * The characterEncoding flag
118 */
119 private boolean isCharacterEncodingSet = false;
120
121
122 /**
123 * Using output stream flag.
124 */

Callers

nothing calls this directly

Calls 2

getLogMethod · 0.95
getManagerMethod · 0.95

Tested by

no test coverage detected