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

Method Request

java/org/apache/catalina/connector/Request.java:145–154  ·  view source on GitHub ↗

Create a new Request object associated with the given Connector. @param connector The Connector with which this Request object will always be associated. In normal usage this must be non-null. In some test scenarios, it may be possible to use a null Connector

(Connector connector, org.apache.coyote.Request coyoteRequest)

Source from the content-addressed store, hash-verified

143 * without triggering an NPE.
144 */
145 public Request(Connector connector, org.apache.coyote.Request coyoteRequest) {
146 this.connector = connector;
147 if (connector != null) {
148 maxParameterCount = connector.getMaxParameterCount();
149 maxPartCount = connector.getMaxPartCount();
150 maxPartHeaderSize = connector.getMaxPartHeaderSize();
151 }
152 this.coyoteRequest = coyoteRequest;
153 inputBuffer = new InputBuffer(coyoteRequest);
154 }
155
156
157 // ------------------------------------------------------------- Properties

Callers

nothing calls this directly

Calls 3

getMaxParameterCountMethod · 0.80
getMaxPartCountMethod · 0.80
getMaxPartHeaderSizeMethod · 0.80

Tested by

no test coverage detected