BBjJettyContextConfiguration::enable


Description

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

Syntax

Return Value

Method

void

enable()

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!.enable()
config!.getCustomContext("store").enable()
config!.saveConfig()

See Also

BBjAPI

BBjJettyContextConfiguration

BBjJettyContextConfiguration::setStatus()