Polishing
This commit is contained in:
parent
8de10e9199
commit
ca8261cbf8
|
@ -13,6 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.mock.web;
|
package org.springframework.mock.web;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletMapping;
|
import javax.servlet.http.HttpServletMapping;
|
||||||
|
@ -72,9 +73,9 @@ public class MockHttpServletMapping implements HttpServletMapping {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "MockHttpServletMapping [matchValue=\"" + matchValue + "\", " +
|
return "MockHttpServletMapping [matchValue=\"" + this.matchValue + "\", " +
|
||||||
"pattern=\"" + pattern + "\", servletName=\"" + servletName + "\", " +
|
"pattern=\"" + this.pattern + "\", servletName=\"" + this.servletName + "\", " +
|
||||||
"mappingMatch=" + mappingMatch + "]";
|
"mappingMatch=" + this.mappingMatch + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,8 +20,10 @@ import java.util.function.Function;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contract for applying a decorator to an {@code HttpHandler}.
|
* Contract for applying a decorator to an {@code HttpHandler}.
|
||||||
|
*
|
||||||
* @author Christophe Maillard
|
* @author Christophe Maillard
|
||||||
* @since 5.3.4
|
* @since 5.3.4
|
||||||
*/
|
*/
|
||||||
public interface HttpHandlerDecoratorFactory extends Function<HttpHandler, HttpHandler> {
|
public interface HttpHandlerDecoratorFactory extends Function<HttpHandler, HttpHandler> {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.web.cors.reactive;
|
package org.springframework.web.cors.reactive;
|
||||||
|
|
||||||
import reactor.core.publisher.Mono;
|
import reactor.core.publisher.Mono;
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.web.testfixture.servlet;
|
package org.springframework.web.testfixture.servlet;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletMapping;
|
import javax.servlet.http.HttpServletMapping;
|
||||||
|
@ -72,9 +73,9 @@ public class MockHttpServletMapping implements HttpServletMapping {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "MockHttpServletMapping [matchValue=\"" + matchValue + "\", " +
|
return "MockHttpServletMapping [matchValue=\"" + this.matchValue + "\", " +
|
||||||
"pattern=\"" + pattern + "\", servletName=\"" + servletName + "\", " +
|
"pattern=\"" + this.pattern + "\", servletName=\"" + this.servletName + "\", " +
|
||||||
"mappingMatch=" + mappingMatch + "]";
|
"mappingMatch=" + this.mappingMatch + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue