MockHttpServletRequest.java (spring-framework-5.3.23) | : | MockHttpServletRequest.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 81 | skipping to change at line 81 | |||
import org.springframework.util.StreamUtils; | import org.springframework.util.StreamUtils; | |||
import org.springframework.util.StringUtils; | import org.springframework.util.StringUtils; | |||
/** | /** | |||
* Mock implementation of the {@link javax.servlet.http.HttpServletRequest} inte rface. | * Mock implementation of the {@link javax.servlet.http.HttpServletRequest} inte rface. | |||
* | * | |||
* <p>The default, preferred {@link Locale} for the <em>server</em> mocked by th is request | * <p>The default, preferred {@link Locale} for the <em>server</em> mocked by th is request | |||
* is {@link Locale#ENGLISH}. This value can be changed via {@link #addPreferred Locale} | * is {@link Locale#ENGLISH}. This value can be changed via {@link #addPreferred Locale} | |||
* or {@link #setPreferredLocales}. | * or {@link #setPreferredLocales}. | |||
* | * | |||
* <p>As of Spring Framework 5.0, this set of mocks is designed on a Servlet 4.0 baseline. | * <p>As of Spring 5.0, this set of mocks is designed on a Servlet 4.0 baseline. | |||
* | * | |||
* @author Juergen Hoeller | * @author Juergen Hoeller | |||
* @author Rod Johnson | * @author Rod Johnson | |||
* @author Rick Evans | * @author Rick Evans | |||
* @author Mark Fisher | * @author Mark Fisher | |||
* @author Chris Beams | * @author Chris Beams | |||
* @author Sam Brannen | * @author Sam Brannen | |||
* @author Brian Clozel | * @author Brian Clozel | |||
* @since 1.0.2 | * @since 1.0.2 | |||
*/ | */ | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |