UpdateContainerConfigurationRequest

Function

Configures the Tomcat setting of an application or a group (including groups).

Request URL

/pop/v5/app/container_config

Request method

POST

Request parameters

Parameter

Type

Required?

Description

appId

String

Yes

Application ID

groupId

String

No

Group ID.It sets the group information if specified.If left blank (""), it sets the configuration information of the application.

contextPath

String

No

Tomcat contextpath, which can be set to an empty string or null (in this case, the WAR package name is used), root directory name, or non-empty custom string. English characters, numbers, hyphens (-), and underscores (_) are supported. Description:1. For group configuration, if this parameter is not set, the application configuration is used.2. For application configuration, if this parameter is not set, the root directory is used.

httpPort

Integer

No

Application port. Description:1. For group configuration, if this parameter is not set, the application configuration is used.2. For application configuration, if this parameter is not set, the default value 8080 is used.

maxThreads

Integer

No

Maximum number of threads. Description:1. For group configuration, if this parameter is not set, the application configuration is used.2. For application configuration, if this parameter is not set, the default value 250 is used.

uRIEncoding

String

No

URI coding method, which can be ISO-8859-1, GBK, GBK213, or UTF-8. Description:1. For group configuration, if this parameter is not set, the application configuration is used.2. For application configuration, if this parameter is not set, the default value Tomcat is used.

useBodyEncoding

Boolean

No

Whether to enable useBodyEncodingForURI. Description:1. For group configuration, if this parameter is not set, the application configuration is used.2. For application configuration, if this parameter is not set, the default value "false" is used.