Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Processor API components

Processors have access to dedicated API classes, objects, and methods.

Class, object, or methodDescription
g_responseAn object of type HttpServletResponse. See GlideServletResponse.
setContentType(‘text/html;charset=UTF-8’)A GlideServletResponse method to set the content type of the response being sent to the client.
g_requestAn object of type HttpServletRequest. See HttpServletRequest.
getParameter()A glide method to get the value of a URL parameter.
canRead()A GlideRecord method to determine if the user can read data from a table. See GlideRecord.
g_processorA simplified servlet for processors. See GlideScriptedProcessor.
writeOutput()A GlideScriptedProcessor method to display information on the client.
g_targetAn object containing the target table name of a processor URL. For example, a processor containing the URI incident.do applies to the Incident table.

Parent Topic:Processors