Move HttpServer related classes back to src/main/java
This is needed in order to be able to use Spring Reactive in standalone applications. These are temporary classes that will return in src/test/java when Spring Boot support for Reactive applications will be implemented.
This commit is contained in:
parent
4a3c0bc3b6
commit
dc57e2621c
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.http.server;
|
package org.springframework.http.server.support;
|
||||||
|
|
||||||
|
|
||||||
import org.springframework.beans.factory.InitializingBean;
|
import org.springframework.beans.factory.InitializingBean;
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.http.server;
|
package org.springframework.http.server.support;
|
||||||
|
|
||||||
|
|
||||||
import org.springframework.http.server.ReactiveHttpHandler;
|
import org.springframework.http.server.ReactiveHttpHandler;
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.http.server;
|
package org.springframework.http.server.support;
|
||||||
|
|
||||||
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 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.http.server;
|
package org.springframework.http.server.support;
|
||||||
|
|
||||||
import reactor.io.buffer.Buffer;
|
import reactor.io.buffer.Buffer;
|
||||||
import reactor.io.net.ReactiveNet;
|
import reactor.io.net.ReactiveNet;
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.http.server;
|
package org.springframework.http.server.support;
|
||||||
|
|
||||||
import io.netty.buffer.ByteBuf;
|
import io.netty.buffer.ByteBuf;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.http.server;
|
package org.springframework.http.server.support;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.http.server;
|
package org.springframework.http.server.support;
|
||||||
|
|
||||||
import org.springframework.beans.factory.InitializingBean;
|
import org.springframework.beans.factory.InitializingBean;
|
||||||
import org.springframework.util.Assert;
|
import org.springframework.util.Assert;
|
|
@ -0,0 +1,5 @@
|
||||||
|
/**
|
||||||
|
* This package contains temporary interfaces and classes for running embedded servers.
|
||||||
|
* They are expected to be replaced by an upcoming Spring Boot support.
|
||||||
|
*/
|
||||||
|
package org.springframework.http.server.support;
|
|
@ -21,6 +21,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.support.HttpServer;
|
||||||
|
import org.springframework.http.server.support.JettyHttpServer;
|
||||||
|
import org.springframework.http.server.support.ReactorHttpServer;
|
||||||
|
import org.springframework.http.server.support.RxNettyHttpServer;
|
||||||
|
import org.springframework.http.server.support.TomcatHttpServer;
|
||||||
|
import org.springframework.http.server.support.UndertowHttpServer;
|
||||||
import org.springframework.util.SocketUtils;
|
import org.springframework.util.SocketUtils;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue