Polish contribution

This commit is contained in:
Andy Wilkinson 2016-04-05 11:26:29 +01:00
parent 0db118c189
commit 42a2d2da37
1 changed files with 12 additions and 7 deletions

View File

@ -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
* @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
* @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
* @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
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);
} }
/** /**