Properties Methods Events Direct Link

Class CQ.HTTP

Package:CQ
Class:HTTP
Extends:Object
Clientlib:cq.widgets
A helper class providing a set of HTTP-related utilities.
The response object returned by the methods get and post has the following properties: You can use the isOk method to verify the response object.

This class is a singleton and cannot be created directly.

Public Properties

Property Defined By
  EXTENSION_HTML : String
Deprecated: use CQ.shared.HTTP.EXTENSION_HTML instead
<static> The extension for HTML files.
HTTP
  EXTENSION_JSON : String
Deprecated: use CQ.shared.HTTP.EXTENSION_JSON instead
<static> The extension for JSON files.
HTTP
  HEADER_LOCATION : String
Deprecated: use CQ.shared.HTTP.HEADER_LOCATION instead
<static> The Location header.
HTTP
  HEADER_MESSAGE : String
Deprecated: use CQ.shared.HTTP.HEADER_MESSAGE instead
<static> The Message header.
HTTP
  HEADER_PATH : String
Deprecated: use CQ.shared.HTTP.HEADER_PATH instead
<static> The Path header.
HTTP
  HEADER_STATUS : String
Deprecated: use CQ.shared.HTTP.HEADER_STATUS instead
<static> The Status header.
HTTP
  PARAM_NO_CACHE : String
Deprecated: use CQ.shared.HTTP.PARAM_NO_CACHE instead
<static> The parameter name for no caching.
HTTP

Public Methods

Method Defined By

Public Events

This class has no public events.