提交 e906a78e 编写于 作者: B Brian Clozel

Move server testing infrastructure to test sources

上级 d736245f
...@@ -6,5 +6,5 @@ target ...@@ -6,5 +6,5 @@ target
/.idea/ /.idea/
bin bin
.gradle .gradle
tomcat* /tomcat.*/
build build
...@@ -23,12 +23,12 @@ import org.junit.Before; ...@@ -23,12 +23,12 @@ import org.junit.Before;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.junit.runners.Parameterized; import org.junit.runners.Parameterized;
import org.springframework.http.server.reactive.boot.HttpServer; import org.springframework.http.server.reactive.bootstrap.HttpServer;
import org.springframework.http.server.reactive.boot.JettyHttpServer; import org.springframework.http.server.reactive.bootstrap.JettyHttpServer;
import org.springframework.http.server.reactive.boot.ReactorHttpServer; import org.springframework.http.server.reactive.bootstrap.ReactorHttpServer;
import org.springframework.http.server.reactive.boot.RxNettyHttpServer; import org.springframework.http.server.reactive.bootstrap.RxNettyHttpServer;
import org.springframework.http.server.reactive.boot.TomcatHttpServer; import org.springframework.http.server.reactive.bootstrap.TomcatHttpServer;
import org.springframework.http.server.reactive.boot.UndertowHttpServer; import org.springframework.http.server.reactive.bootstrap.UndertowHttpServer;
import org.springframework.util.SocketUtils; import org.springframework.util.SocketUtils;
......
...@@ -25,7 +25,7 @@ import reactor.core.publisher.Mono; ...@@ -25,7 +25,7 @@ import reactor.core.publisher.Mono;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;
import org.springframework.http.client.ClientHttpResponse; import org.springframework.http.client.ClientHttpResponse;
import org.springframework.http.server.reactive.boot.ReactorHttpServer; import org.springframework.http.server.reactive.bootstrap.ReactorHttpServer;
import org.springframework.web.client.ResponseErrorHandler; import org.springframework.web.client.ResponseErrorHandler;
import org.springframework.web.client.RestTemplate; import org.springframework.web.client.RestTemplate;
......
...@@ -28,8 +28,8 @@ import org.springframework.http.MediaType; ...@@ -28,8 +28,8 @@ import org.springframework.http.MediaType;
import org.springframework.http.RequestEntity; import org.springframework.http.RequestEntity;
import org.springframework.http.ResponseEntity; import org.springframework.http.ResponseEntity;
import org.springframework.http.ZeroCopyHttpOutputMessage; import org.springframework.http.ZeroCopyHttpOutputMessage;
import org.springframework.http.server.reactive.boot.ReactorHttpServer; import org.springframework.http.server.reactive.bootstrap.ReactorHttpServer;
import org.springframework.http.server.reactive.boot.UndertowHttpServer; import org.springframework.http.server.reactive.bootstrap.UndertowHttpServer;
import org.springframework.web.client.RestTemplate; import org.springframework.web.client.RestTemplate;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.http.server.reactive.boot; package org.springframework.http.server.reactive.bootstrap;
import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.InitializingBean;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.http.server.reactive.boot; package org.springframework.http.server.reactive.bootstrap;
import org.springframework.http.server.reactive.HttpHandler; import org.springframework.http.server.reactive.HttpHandler;
import org.springframework.util.SocketUtils; import org.springframework.util.SocketUtils;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.http.server.reactive.boot; package org.springframework.http.server.reactive.bootstrap;
import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.ServerConnector; import org.eclipse.jetty.server.ServerConnector;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.http.server.reactive.boot; package org.springframework.http.server.reactive.bootstrap;
import reactor.core.flow.Loopback; import reactor.core.flow.Loopback;
import reactor.core.state.Completable; import reactor.core.state.Completable;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.http.server.reactive.boot; package org.springframework.http.server.reactive.bootstrap;
import java.net.InetSocketAddress; import java.net.InetSocketAddress;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.http.server.reactive.boot; package org.springframework.http.server.reactive.bootstrap;
import java.io.File; import java.io.File;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.http.server.reactive.boot; package org.springframework.http.server.reactive.bootstrap;
import io.undertow.Undertow; import io.undertow.Undertow;
import io.undertow.server.HttpHandler; import io.undertow.server.HttpHandler;
......
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
* This package contains temporary interfaces and classes for running embedded servers. * This package contains temporary interfaces and classes for running embedded servers.
* They are expected to be replaced by an upcoming Spring Boot support. * They are expected to be replaced by an upcoming Spring Boot support.
*/ */
package org.springframework.http.server.reactive.boot; package org.springframework.http.server.reactive.bootstrap;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册