File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
spring-web/src/main/java/org/springframework/http/server Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,6 @@ public ServerHttpAsyncRequestControl getAsyncRequestControl(ServerHttpResponse r
175
175
}
176
176
177
177
178
-
179
178
private static boolean isFormPost (HttpServletRequest request ) {
180
179
String contentType = request .getContentType ();
181
180
return (contentType != null && contentType .contains (FORM_CONTENT_TYPE ) &&
@@ -185,8 +184,8 @@ private static boolean isFormPost(HttpServletRequest request) {
185
184
/**
186
185
* Use {@link javax.servlet.ServletRequest#getParameterMap()} to reconstruct the
187
186
* body of a form 'POST' providing a predictable outcome as opposed to reading
188
- * from the body, which can fail if any other code has used ServletRequest
189
- * to access a parameter thus causing the input stream to be "consumed".
187
+ * from the body, which can fail if any other code has used the ServletRequest
188
+ * to access a parameter, thus causing the input stream to be "consumed".
190
189
*/
191
190
private static InputStream getBodyFromServletRequestParameters (HttpServletRequest request ) throws IOException {
192
191
ByteArrayOutputStream bos = new ByteArrayOutputStream (1024 );
Original file line number Diff line number Diff line change @@ -8138,8 +8138,8 @@ available to the context so one can use them for conditional event processing:
8138
8138
8139
8139
| __argument name__
8140
8140
| evaluation context
8141
- | Name of any of the method argument . If for some reason the names are not available
8142
- (ex: no debug information), the argument names are also available under the `#a<#arg>`
8141
+ | Name of any of the method arguments . If for some reason the names are not available
8142
+ (e.g. no debug information), the argument names are also available under the `#a<#arg>`
8143
8143
where __#arg__ stands for the argument index (starting from 0).
8144
8144
| `#iban` or `#a0` (one can also use `#p0` or `#p<#arg>` notation as an alias).
8145
8145
|===
Original file line number Diff line number Diff line change @@ -8462,8 +8462,8 @@ conditional computations:
8462
8462
8463
8463
| __argument name__
8464
8464
| evaluation context
8465
- | Name of any of the method argument . If for some reason the names are not available
8466
- (ex: no debug information), the argument names are also available under the `#a<#arg>`
8465
+ | Name of any of the method arguments . If for some reason the names are not available
8466
+ (e.g. no debug information), the argument names are also available under the `#a<#arg>`
8467
8467
where __#arg__ stands for the argument index (starting from 0).
8468
8468
| `#iban` or `#a0` (one can also use `#p0` or `#p<#arg>` notation as an alias).
8469
8469
You can’t perform that action at this time.
0 commit comments