BBjJettyServerConfiguration::removeCustomContext

Description

In BBj 17.0 and higher, this method removes a Context Entry from the internal Jetty web server.

Syntax

Return Value

Method

void

removeCustomContext(string name)

Parameters

Variable

Description

name

Specifies the name of the context.

Return Value

None.

Remarks

None.

Example

declare BBjAPI api!
declare BBjAdmin admin!
declare BBjJettyServerConfiguration config!
declare BBjJettyContextConfiguration context!
api! = BBJAPI()
admin! = api!.getAdmin("admin","admin123")
config! = admin!.getJettyServerConfig()
config!.removeCustomContext("NewContext")
config!.saveConfig()

See Also

BBjAPI

BBjJettyContextConfiguration

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.