"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "spring-web/src/main/java/org/springframework/web/filter/AbstractRequestLoggingFilter.java" between
spring-framework-5.3.23.tar.gz and spring-framework-5.3.24.tar.gz

About: Spring Framework is an application framework for the Java platform and .NET Framework. Community edition.

AbstractRequestLoggingFilter.java  (spring-framework-5.3.23):AbstractRequestLoggingFilter.java  (spring-framework-5.3.24)
/* /*
* Copyright 2002-2021 the original author or authors. * Copyright 2002-2022 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* https://www.apache.org/licenses/LICENSE-2.0 * https://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
skipping to change at line 210 skipping to change at line 210
protected Predicate<String> getHeaderPredicate() { protected Predicate<String> getHeaderPredicate() {
return this.headerPredicate; return this.headerPredicate;
} }
/** /**
* Set the maximum length of the payload body to be included in the log m essage. * Set the maximum length of the payload body to be included in the log m essage.
* Default is 50 characters. * Default is 50 characters.
* @since 3.0 * @since 3.0
*/ */
public void setMaxPayloadLength(int maxPayloadLength) { public void setMaxPayloadLength(int maxPayloadLength) {
Assert.isTrue(maxPayloadLength >= 0, "'maxPayloadLength' should b e larger than or equal to 0"); Assert.isTrue(maxPayloadLength >= 0, "'maxPayloadLength' must be greater than or equal to 0");
this.maxPayloadLength = maxPayloadLength; this.maxPayloadLength = maxPayloadLength;
} }
/** /**
* Return the maximum length of the payload body to be included in the lo g message. * Return the maximum length of the payload body to be included in the lo g message.
* @since 3.0 * @since 3.0
*/ */
protected int getMaxPayloadLength() { protected int getMaxPayloadLength() {
return this.maxPayloadLength; return this.maxPayloadLength;
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)