HttpLayerManager Property

This property specifies the way in which Ephox EditLive! for XML manages HTTP interactions.

Syntax

JavaScript

setHttpLayerManager(httpLayer);

Parameters

httpLayer

A string specifying the HTTP connector responsible for managing HTTP requests generated from EditLive! for XML. The accepted HTTP connectors are:

  • default

  • sun

The default value is default.

Examples

Example 16.19. HttpLayerManager Property Example Scripting

The following code would specify that the http connector is set to default.

JavaScript

editlivejs.setHttpLayerManager("default");

Remarks

The following is a list of the possible HTTP connectors used to manage HTTP interactions:

default

HTTP connector created by Ephox using an Apache implementation.

sun

Sun Microsystem's URL class HTTP connector.