BBjJettyContextConfiguration::deleteHeader

Description

In BBj 17.0 and higher, this method deletes the specified header in the current BBjJettyContext.

Syntax

Return Value

Method

void

deleteHeader(string name)

Parameters

Variable

Description

name

the name of the header to delete

Return Value

None.

Remarks

None.

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

root!.deleteHeader("myheader")