edit-icon download-icon

UpdateContainerConfigurationRequest

Last Updated: Nov 16, 2018

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.
Configure the group if this parameter is specified.
If this parameter is null (""), configure 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. The value contains English characters, numbers, hyphens (-), and underscores (_). 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 mode, 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 Indicates 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.

Response parameters

Parameter Type Description
Code Integer Code
Message String Message
ContainerConfiguration ContainerConfiguration

ContainerConfiguration

Parameter Type Description
ContextPath String Tomcat contextpath
HttpPort Integer Application port
MaxThreads Integer Maximum number of threads
URIEncoding String URI coding mode, which can be ISO-8859-1, GBK, GBK213, or UTF-8.
UseBodyEncoding Boolean Indicates whether useBodyEncodingForURI is enabled
Thank you! We've received your feedback.