---
sourceDocument: Australia API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/api-reference

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# API components

# Processor API components {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Processors have access to dedicated API classes, objects, and methods.
{#r_ProcessorAPIComponents__table_ProcessorAPIComponents__entry__2}

| Class, object, or method | Description |
|-|-|
| `g_response` | An object of type HttpServletResponse. See [GlideServletResponse](https://servicenow-prod.fluidtopics.net/D~IK0A6ZikNLpROX4GIW8w#c_GlideServletResponseScopedAPI "The GlideServletResponse API provides methods to use in processor scripts."). |
| `setContentType('text/html;charset=UTF-8')` | A [GlideServletResponse](https://servicenow-prod.fluidtopics.net/D~IK0A6ZikNLpROX4GIW8w#c_GlideServletResponseScopedAPI "The GlideServletResponse API provides methods to use in processor scripts.") method to set the content type of the response being sent to the client. |
| `g_request` | An object of type HttpServletRequest. See [HttpServletRequest](https://servicenow-prod.fluidtopics.net/zyBbmTY7ssoTB32jG6APJg#c_GlideServletRequestScopedAPI "The GlideServletRequest API provides methods to use in processor scripts."). |
| `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](https://servicenow-prod.fluidtopics.net/A8srNukp_c6TJp_LS_KZMg#c_GlideRecordScopedAPI "The scoped GlideRecord API is used for database operations."). |
| `g_processor` | A simplified servlet for processors. See [GlideScriptedProcessor](https://servicenow-prod.fluidtopics.net/rEHM2v_8ln4lzSTmSW9JuQ#c_GlideScriptedProcessorScopedAPI "The GlideScriptedProcessor API provides a customizable URL endpoint that can execute arbitrary server-side JavaScript code and produce output such as TEXT, JSON, or HTML. ServiceNow processors are equivalent to Java servlets."). |
| `writeOutput()` | A [GlideScriptedProcessor](https://servicenow-prod.fluidtopics.net/rEHM2v_8ln4lzSTmSW9JuQ#c_GlideScriptedProcessorScopedAPI "The GlideScriptedProcessor API provides a customizable URL endpoint that can execute arbitrary server-side JavaScript code and produce output such as TEXT, JSON, or HTML. ServiceNow processors are equivalent to Java servlets.") method to display information on the client. |
| `g_target` | An object containing the target table name of a processor URL. For example, a processor containing the URI incident.do applies to the Incident table. |
[Table 1. Processor API components]

{#r_ProcessorAPIComponents__table_ProcessorAPIComponents}

