Remove references to CommonsHttpInvokerRequestExecutor

master
Sam Brannen 10 years ago
parent 2667956a30
commit 4aa97f8945
  1. 6
      spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerRequestExecutor.java
  2. 7
      spring-web/src/main/java/org/springframework/remoting/httpinvoker/SimpleHttpInvokerRequestExecutor.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2005 the original author or authors. * Copyright 2002-2014 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.
@ -28,10 +28,10 @@ import org.springframework.remoting.support.RemoteInvocationResult;
* *
* <p>Two implementations are provided out of the box: * <p>Two implementations are provided out of the box:
* <ul> * <ul>
* <li><b>SimpleHttpInvokerRequestExecutor:</b> * <li><b>{@code SimpleHttpInvokerRequestExecutor}:</b>
* Uses J2SE facilities to execute POST requests, without support * Uses J2SE facilities to execute POST requests, without support
* for HTTP authentication or advanced configuration options. * for HTTP authentication or advanced configuration options.
* <li><b>CommonsHttpInvokerRequestExecutor:</b> * <li><b>{@code HttpComponentsHttpInvokerRequestExecutor}:</b>
* Uses Jakarta's Commons HttpClient to execute POST requests, * Uses Jakarta's Commons HttpClient to execute POST requests,
* allowing to use a preconfigured HttpClient instance * allowing to use a preconfigured HttpClient instance
* (potentially with authentication, HTTP connection pooling, etc). * (potentially with authentication, HTTP connection pooling, etc).

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2013 the original author or authors. * Copyright 2002-2014 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.
@ -36,8 +36,9 @@ import org.springframework.util.StringUtils;
* advanced configuration options. * advanced configuration options.
* *
* <p>Designed for easy subclassing, customizing specific template methods. * <p>Designed for easy subclassing, customizing specific template methods.
* However, consider CommonsHttpInvokerRequestExecutor for more sophisticated * However, consider {@code HttpComponentsHttpInvokerRequestExecutor} for
* needs: The J2SE HttpURLConnection is rather limited in its capabilities. * more sophisticated needs: The J2SE HttpURLConnection is rather limited
* in its capabilities.
* *
* @author Juergen Hoeller * @author Juergen Hoeller
* @since 1.1 * @since 1.1

Loading…
Cancel
Save