com.ephox.editlive.http.layer
Class HttpLayer

java.lang.Object
  extended by com.ephox.editlive.http.layer.HttpLayer

public final class HttpLayer
extends Object

Http layer options supported by EditLive!.

Since:
7.5

Field Summary
static HttpLayer HTTPCLIENT
          Uses an Ephox-namespaced copy of Apache HttpClient for all HTTP connections.
static HttpLayer SUN
          Uses JRE standard URL.openConnection() to perform all HTTP connections.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HTTPCLIENT

public static final HttpLayer HTTPCLIENT
Uses an Ephox-namespaced copy of Apache HttpClient for all HTTP connections.

NOTE: Local file URL references are always loaded using the Sun layer.


SUN

public static final HttpLayer SUN
Uses JRE standard URL.openConnection() to perform all HTTP connections. This is useful in browsers as JRE connections use browser authentication thus removing the need to configure authentication specifically for EditLive!.

NOTE: As the JRE classes do not support HTTP PUT, certain editor functions ignore the layer setting and always use HttpClient:

Method Detail

toString

public String toString()
Overrides:
toString in class Object

Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved.