Polishing
This commit is contained in:
parent
76f84b914f
commit
7f7f24949b
|
|
@ -175,7 +175,6 @@ public class ServletServerHttpRequest implements ServerHttpRequest {
|
|||
}
|
||||
|
||||
|
||||
|
||||
private static boolean isFormPost(HttpServletRequest request) {
|
||||
String contentType = request.getContentType();
|
||||
return (contentType != null && contentType.contains(FORM_CONTENT_TYPE) &&
|
||||
|
|
@ -185,8 +184,8 @@ public class ServletServerHttpRequest implements ServerHttpRequest {
|
|||
/**
|
||||
* Use {@link javax.servlet.ServletRequest#getParameterMap()} to reconstruct the
|
||||
* body of a form 'POST' providing a predictable outcome as opposed to reading
|
||||
* from the body, which can fail if any other code has used ServletRequest
|
||||
* to access a parameter thus causing the input stream to be "consumed".
|
||||
* from the body, which can fail if any other code has used the ServletRequest
|
||||
* to access a parameter, thus causing the input stream to be "consumed".
|
||||
*/
|
||||
private static InputStream getBodyFromServletRequestParameters(HttpServletRequest request) throws IOException {
|
||||
ByteArrayOutputStream bos = new ByteArrayOutputStream(1024);
|
||||
|
|
|
|||
|
|
@ -8138,8 +8138,8 @@ available to the context so one can use them for conditional event processing:
|
|||
|
||||
| __argument name__
|
||||
| evaluation context
|
||||
| Name of any of the method argument. If for some reason the names are not available
|
||||
(ex: no debug information), the argument names are also available under the `#a<#arg>`
|
||||
| Name of any of the method arguments. If for some reason the names are not available
|
||||
(e.g. no debug information), the argument names are also available under the `#a<#arg>`
|
||||
where __#arg__ stands for the argument index (starting from 0).
|
||||
| `#iban` or `#a0` (one can also use `#p0` or `#p<#arg>` notation as an alias).
|
||||
|===
|
||||
|
|
|
|||
|
|
@ -8462,8 +8462,8 @@ conditional computations:
|
|||
|
||||
| __argument name__
|
||||
| evaluation context
|
||||
| Name of any of the method argument. If for some reason the names are not available
|
||||
(ex: no debug information), the argument names are also available under the `#a<#arg>`
|
||||
| Name of any of the method arguments. If for some reason the names are not available
|
||||
(e.g. no debug information), the argument names are also available under the `#a<#arg>`
|
||||
where __#arg__ stands for the argument index (starting from 0).
|
||||
| `#iban` or `#a0` (one can also use `#p0` or `#p<#arg>` notation as an alias).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue