|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.silverpeas.web.util.IFrameAjaxTransportUtil
public class IFrameAjaxTransportUtil
This class provides some tools to more effectively use the technique of ajax iframe transport. User: Yohann Chastagnier Date: 16/07/13
| Field Summary | |
|---|---|
static String |
AJAX_IFRAME_TRANSPORT
|
static String |
X_REQUESTED_WITH
|
| Constructor Summary | |
|---|---|
IFrameAjaxTransportUtil()
|
|
| Method Summary | |
|---|---|
static javax.ws.rs.WebApplicationException |
createWebApplicationExceptionWithJSonErrorInHtmlContainer(javax.ws.rs.WebApplicationException wae)
Packaging an Web Application Exception as JSon String and then as HTML to be performed by IFrame Ajax Transport Javascript Plugin. |
static String |
packJSonDataWithHtmlContainer(org.json.JSONObject jsonObject)
Packaging a JSon object as HTML to be performed by IFrame Ajax Transport Javascript Plugin. |
static String |
packJSonDataWithHtmlContainer(List<org.json.JSONObject> jsonObjects)
Packaging a JSon object list as HTML to be performed by IFrame Ajax Transport Javascript Plugin. |
protected static String |
packJSonDataWithHtmlContainer(String jsonString)
Packaging a JSon string as HTML to be performed by IFrame Ajax Transport Javascript Plugin. |
static String |
packObjectToJSonDataWithHtmlContainer(List<Object> objects)
Packaging an object list as JSon String and then as HTML to be performed by IFrame Ajax Transport Javascript Plugin. |
static String |
packObjectToJSonDataWithHtmlContainer(Object object)
Packaging an object as JSon String and then as HTML to be performed by IFrame Ajax Transport Javascript Plugin. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String X_REQUESTED_WITH
public static final String AJAX_IFRAME_TRANSPORT
| Constructor Detail |
|---|
public IFrameAjaxTransportUtil()
| Method Detail |
|---|
public static javax.ws.rs.WebApplicationException createWebApplicationExceptionWithJSonErrorInHtmlContainer(javax.ws.rs.WebApplicationException wae)
throws IOException
wae -
IOException
public static String packObjectToJSonDataWithHtmlContainer(Object object)
throws IOException
object -
IOException
public static String packObjectToJSonDataWithHtmlContainer(List<Object> objects)
throws IOException
objects -
IOExceptionpublic static String packJSonDataWithHtmlContainer(org.json.JSONObject jsonObject)
jsonObject -
public static String packJSonDataWithHtmlContainer(List<org.json.JSONObject> jsonObjects)
jsonObjects -
protected static String packJSonDataWithHtmlContainer(String jsonString)
jsonString -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||