你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebContainer Class

public class WebContainer extends ExpandableStringEnum

Defines values for Java web container.

Field Summary

Modifier and Type Field and Description
final WebContainer JETTY_9_1_NEWEST

Static value jetty 9.1 for WebContainer.

final WebContainer JETTY_9_1_V20131115

Static value jetty 9.1.0 v20131115 for WebContainer.

final WebContainer JETTY_9_3_NEWEST

Static value jetty 9.3 for WebContainer.

final WebContainer JETTY_9_3_V20161014

Static value jetty 9.3.13 v20161014 for WebContainer.

final WebContainer TOMCAT_7_0_50

Static value tomcat 7.0.50 for WebContainer.

final WebContainer TOMCAT_7_0_62

Static value tomcat 7.0.62 for WebContainer.

final WebContainer TOMCAT_7_0_NEWEST

Static value tomcat 7.0 newest for WebContainer.

final WebContainer TOMCAT_8_0_23

Static value tomcat 8.0.23 for WebContainer.

final WebContainer TOMCAT_8_0_NEWEST

Static value tomcat 8.0 newest for WebContainer.

final WebContainer TOMCAT_8_5_6

Static value tomcat 8.0.23 for WebContainer.

final WebContainer TOMCAT_8_5_NEWEST

Static value tomcat 8.0 newest for WebContainer.

Method Summary

Modifier and Type Method and Description
WebContainer fromString(String name)

Finds or creates a Web container based on the specified name.

Collection<WebContainer> values()

Inherited Members

Field Details

JETTY_9_1_NEWEST

public static final WebContainer JETTY_9_1_NEWEST= WebContainer.fromString("jetty 9.1")

Static value jetty 9.1 for WebContainer.

JETTY_9_1_V20131115

public static final WebContainer JETTY_9_1_V20131115= WebContainer.fromString("jetty 9.1.0.20131115")

Static value jetty 9.1.0 v20131115 for WebContainer.

JETTY_9_3_NEWEST

public static final WebContainer JETTY_9_3_NEWEST= WebContainer.fromString("jetty 9.3")

Static value jetty 9.3 for WebContainer.

JETTY_9_3_V20161014

public static final WebContainer JETTY_9_3_V20161014= WebContainer.fromString("jetty 9.3.13.20161014")

Static value jetty 9.3.13 v20161014 for WebContainer.

TOMCAT_7_0_50

public static final WebContainer TOMCAT_7_0_50= WebContainer.fromString("tomcat 7.0.50")

Static value tomcat 7.0.50 for WebContainer.

TOMCAT_7_0_62

public static final WebContainer TOMCAT_7_0_62= WebContainer.fromString("tomcat 7.0.62")

Static value tomcat 7.0.62 for WebContainer.

TOMCAT_7_0_NEWEST

public static final WebContainer TOMCAT_7_0_NEWEST= WebContainer.fromString("tomcat 7.0")

Static value tomcat 7.0 newest for WebContainer.

TOMCAT_8_0_23

public static final WebContainer TOMCAT_8_0_23= WebContainer.fromString("tomcat 8.0.23")

Static value tomcat 8.0.23 for WebContainer.

TOMCAT_8_0_NEWEST

public static final WebContainer TOMCAT_8_0_NEWEST= WebContainer.fromString("tomcat 8.0")

Static value tomcat 8.0 newest for WebContainer.

TOMCAT_8_5_6

public static final WebContainer TOMCAT_8_5_6= WebContainer.fromString("tomcat 8.5.6")

Static value tomcat 8.0.23 for WebContainer.

TOMCAT_8_5_NEWEST

public static final WebContainer TOMCAT_8_5_NEWEST= WebContainer.fromString("tomcat 8.5")

Static value tomcat 8.0 newest for WebContainer.

Method Details

fromString

public static WebContainer fromString(String name)

Finds or creates a Web container based on the specified name.

Parameters:

name - a name

Returns:

a WebContainer instance

values

public static Collection values()

Returns:

known Web container types

Applies to