BBjJettyContextConfiguration::getCommandExtensions

Description

In BBj 18.11 and higher, this method gets a comma-separated list of extensions that are associated with BBjspCommands.

If BBjspCommands are disabled, then this method will return null.

Syntax

Return Value

Method

String

getCommandExtensions()

Parameters

None.

Return Value

Returns a comma-separated list of extensions or null.

Remarks

The extensions used to map requests arriving in Jetty to the BBjspCommand engine for processing the request.

Example

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()

print root!.getPageExtensions()
print root!.getCommandExtensions()

See Also

BBjAPI

BBjJettyContextConfiguration

BBjJettyContextConfiguration::setCommandExtensions()