Properties Methods Events Direct Link

Class CQ.shared.HTTP

Package:CQ.shared
Class:HTTP
Extends:Object
Clientlib:cq.shared
Deprecated: use Granite.HTTP and Granite.$#ajax instead

A helper class providing a set of HTTP-related utilities.

This class is a singleton and cannot be created directly.

Public Properties

Property Defined By
  EXTENSION_HTML : String
<static> The extension for HTML files.
HTTP
  EXTENSION_JSON : String
<static> The extension for JSON files.
HTTP
  HEADER_LOCATION : String
<static> The Location header.
HTTP
  HEADER_MESSAGE : String
<static> The Message header.
HTTP
  HEADER_PATH : String
<static> The Path header.
HTTP
  HEADER_STATUS : String
<static> The Status header.
HTTP
  PARAM_NO_CACHE : String
<static> The parameter name for no caching.
HTTP
  getContextPath : Object
<static> Returns the context path used on the server. Added in CQ 5.3.
HTTP
  getXhrHook : Object
Gets the XHR hooked URL if called in a portlet context
HTTP
  removeAnchor : Object
<static> Removes the anchor from the specified URL.
HTTP
  removeParameters : Object
<static> Removes all parameter from the specified URL.
HTTP

Public Methods

Method Defined By

Public Events

This class has no public events.