Partager via


WebApp Interface

Implements

public interface WebApp
extends WebAppBasic, SupportsOneDeploy, WebAppBase, Updatable<Update>, SupportsListingPrivateLinkResource, SupportsListingPrivateEndpointConnection, SupportsUpdatingPrivateEndpointConnection

An immutable client-side representation of an Azure Web App.

Method Summary

Modifier and Type Method and Description
abstract DeploymentSlots deploymentSlots()

Gets the entry point to deployment slot management API under the web app.

abstract void warDeploy(File warFile)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

abstract void warDeploy(File warFile, String appName)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

abstract void warDeploy(InputStream warFile, long length)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

abstract void warDeploy(InputStream warFile, long length, String appName)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

abstract Mono<Void> warDeployAsync(File warFile)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

abstract Mono<Void> warDeployAsync(File warFile, String appName)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

abstract Mono<Void> warDeployAsync(InputStream warFile, long length)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

abstract Mono<Void> warDeployAsync(InputStream warFile, long length, String appName)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

Method Details

deploymentSlots

public abstract DeploymentSlots deploymentSlots()

Gets the entry point to deployment slot management API under the web app.

Returns:

the entry point to deployment slot management API under the web app

warDeploy

public abstract void warDeploy(File warFile)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

Parameters:

warFile - the WAR file to upload

warDeploy

public abstract void warDeploy(File warFile, String appName)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

Parameters:

warFile - the WAR file to upload
appName - the name of the app, default to "ROOT" when not provided

warDeploy

public abstract void warDeploy(InputStream warFile, long length)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

Retry by client is required if error happens, due to nature of the stream.

Parameters:

warFile - the WAR file to upload
length - the length of the file

warDeploy

public abstract void warDeploy(InputStream warFile, long length, String appName)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

Retry by client is required if error happens, due to nature of the stream.

Parameters:

warFile - the WAR file to upload
length - the length of the file
appName - the name of the app, default to "ROOT" when not provided

warDeployAsync

public abstract Mono warDeployAsync(File warFile)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

Parameters:

warFile - the WAR file to upload

Returns:

a completable of the operation

warDeployAsync

public abstract Mono warDeployAsync(File warFile, String appName)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

Parameters:

warFile - the WAR file to upload
appName - the name of the app, default to "ROOT" when not provided

Returns:

a completable of the operation

warDeployAsync

public abstract Mono warDeployAsync(InputStream warFile, long length)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

Retry by client is required if error happens, due to nature of the stream.

Parameters:

warFile - the WAR file to upload
length - the length of the file

Returns:

a completable of the operation

warDeployAsync

public abstract Mono warDeployAsync(InputStream warFile, long length, String appName)

Deploys a WAR file onto the Azure specialized Tomcat on this web app.

Retry by client is required if error happens, due to nature of the stream.

Parameters:

warFile - the WAR file to upload
length - the length of the file
appName - the name of the app, default to "ROOT" when not provided

Returns:

a completable of the operation

Applies to