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)
| 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 |
nothing calls this directly
no test coverage detected