Getters in classes HttpHeader, NameValueData, and FormField return httpheader, name/value pairs and formfield field values for the appropriate API commands.
Methods | JCICS class | EXEC CICS Commands |
---|---|---|
get*() | CertificateInfo | EXTRACT CERTIFICATE / EXTRACT TCPIP |
get*() | HttpRequest | EXTRACT WEB |
getHeader() | HttpRequest | WEB READ HTTPHEADER |
getFormField() | HttpRequest | WEB READ FORMFIELD |
getContent() | HttpRequest | WEB RECEIVE |
startBrowseHeader() | HttpRequest | WEB STARTBROWSE HTTPHEADER |
getNextHeader() | HttpRequest | WEB READNEXT HTTPHEADER |
endBrowseHeader() | HttpRequest | WEB ENDBROWSE HTTPHEADER |
startBrowseFormfield() | HttpRequest | WEB STARTBROWSE FORMFIELD |
getNextFormfield() | HttpRequest | WEB READNEXT FORMFIELD |
endBrowseFormfield() | HttpRequest | WEB ENDBROWSE FORMFIELD |
writeHeader() | HttpResponse | WEB WRITE |
getDocument() | HttpResponse | WEB RETRIEVE |
getCurrentDocument() | HttpResponse | WEB RETRIEVE |
sendDocument() | HttpResponse | WEB SEND |
Each incoming HTTP request processed by CICS Web support includes an HTTP header. If the request uses the POST HTTP verb it also includes document data. Each response HTTP request generated by CICS Web support includes an HTTP header and document data.
To serve the HTTP client web content resulting from a request, the server programmer needs to create a CICS document using the Document Services API and call the sendDocument() method.
For more information on CICS Web support see the CICS® Application Programming Guide. For more information on the JCICS Web classes see the JCICS Class Reference.