Response UDR

The Response UDR contains the UI built with UI Builder Component UDRs.

The following fields are included in the Response UDR:

Field

Description

Field

Description

body (bytearray)

This field can contain the HTTP message body. If the page is built up manually or a File should be downloaded. In normal cases this field is not used.

cookies (list<CookieUDR>

This field can contain a list of Cookie UDRs.

headerFields (map<string,list<string>>)

This field may contain an HTTP header. The header is stored as key-value pairs.

httpResponseCode (int)

This field can contain the response code to the client. If not set response code 200 will be sent to client.

mainGrid (GridUDR)

This field can contain the Grid UDR to build up the UI. This field or body field must be set.

menuItems (map<string,string>)

This field may contain menu items. The menu items are stored as key-value pairs. Where key is the text showed in the menu and value is a URL to the new page.

naviContent (list<ComponentUDR>)

This field may contain a list of any Component UDR to be present in the top navibar on the UI.

scripts (list<ScriptUDR>)

This field may contain a list of Script UDR to be added to the page.