BBjJettyContextConfiguration::disable


Description

In BBj 15.0 and higher, this method will disable the Jetty Context.

Syntax

Return Value

Method

void

disable()

Parameters

None.

Return Value

None.

Remarks

None.

Example

REM === THIS PROGRAM SWAPS THE ENCODING BETWEEB "UTF-8" AND "UTF-16" ===

declare BBjAPI api!
declare BBjAdmin admin!
declare BBjJettyServerConfiguration config!
declare BBjJettyContextConfiguration root!

api! = BBJAPI()
admin! = api!.getAdmin("admin","admin123")
config! = admin!.getJettyServerConfig()
root! = config!.getRootContextInfo()

root!.disable()

config!.saveConfig()

See Also

BBjAPI

BBjJettyContextConfiguration

BBjJettyContextConfiguration::setStatus()