Commit 42a2d2da authored by Andy Wilkinson's avatar Andy Wilkinson

Polish contribution

parent 0db118c1
...@@ -61,6 +61,7 @@ import org.springframework.util.StringUtils; ...@@ -61,6 +61,7 @@ import org.springframework.util.StringUtils;
* @author Ivan Sopov * @author Ivan Sopov
* @author Andy Wilkinson * @author Andy Wilkinson
* @author Eddú Meléndez * @author Eddú Meléndez
* @author Christoph Dreis
* @since 1.2.0 * @since 1.2.0
* @see UndertowEmbeddedServletContainerFactory * @see UndertowEmbeddedServletContainerFactory
*/ */
...@@ -95,7 +96,8 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine ...@@ -95,7 +96,8 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine
* @param port the port to listen on (not used) * @param port the port to listen on (not used)
* @param autoStart if the server should be started * @param autoStart if the server should be started
* @param compression compression configuration * @param compression compression configuration
* @deprecated as of 1.4 in favor of using constructors without port argument * @deprecated as of 1.4 in favor of
* {@link #UndertowEmbeddedServletContainer(Builder, DeploymentManager, String, boolean, Compression)}
*/ */
@Deprecated @Deprecated
public UndertowEmbeddedServletContainer(Builder builder, DeploymentManager manager, public UndertowEmbeddedServletContainer(Builder builder, DeploymentManager manager,
...@@ -112,13 +114,14 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine ...@@ -112,13 +114,14 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine
* @param useForwardHeaders if x-forward headers should be used * @param useForwardHeaders if x-forward headers should be used
* @param autoStart if the server should be started * @param autoStart if the server should be started
* @param compression compression configuration * @param compression compression configuration
* @deprecated as of 1.4 in favor of using constructors without port argument * @deprecated as of 1.4 in favor of
* {@link #UndertowEmbeddedServletContainer(Builder, DeploymentManager, String, boolean, boolean, Compression)}
*/ */
@Deprecated @Deprecated
public UndertowEmbeddedServletContainer(Builder builder, DeploymentManager manager, public UndertowEmbeddedServletContainer(Builder builder, DeploymentManager manager,
String contextPath, int port, boolean useForwardHeaders, boolean autoStart, String contextPath, int port, boolean useForwardHeaders, boolean autoStart,
Compression compression) { Compression compression) {
this(builder, manager, contextPath, useForwardHeaders, autoStart, compression, null); this(builder, manager, contextPath, useForwardHeaders, autoStart, compression);
} }
/** /**
...@@ -131,13 +134,15 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine ...@@ -131,13 +134,15 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine
* @param autoStart if the server should be started * @param autoStart if the server should be started
* @param compression compression configuration * @param compression compression configuration
* @param serverHeader string to be used in http header * @param serverHeader string to be used in http header
* @deprecated as of 1.4 in favor of using constructors without port argument * @deprecated as of 1.4 in favor of
* {@link #UndertowEmbeddedServletContainer(Builder, DeploymentManager, String, boolean, boolean, Compression, String)}
*/ */
@Deprecated @Deprecated
public UndertowEmbeddedServletContainer(Builder builder, DeploymentManager manager, public UndertowEmbeddedServletContainer(Builder builder, DeploymentManager manager,
String contextPath, int port, boolean useForwardHeaders, boolean autoStart, String contextPath, int port, boolean useForwardHeaders, boolean autoStart,
Compression compression, String serverHeader) { Compression compression, String serverHeader) {
this(builder, manager, contextPath, useForwardHeaders, autoStart, compression, serverHeader); this(builder, manager, contextPath, useForwardHeaders, autoStart, compression,
serverHeader);
} }
/** /**
...@@ -165,8 +170,8 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine ...@@ -165,8 +170,8 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine
public UndertowEmbeddedServletContainer(Builder builder, DeploymentManager manager, public UndertowEmbeddedServletContainer(Builder builder, DeploymentManager manager,
String contextPath, boolean useForwardHeaders, boolean autoStart, String contextPath, boolean useForwardHeaders, boolean autoStart,
Compression compression) { Compression compression) {
this(builder, manager, contextPath, useForwardHeaders, autoStart, this(builder, manager, contextPath, useForwardHeaders, autoStart, compression,
compression, null); null);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment