org.apache.wicket.ajax.json.HTTP Maven / Gradle / Ivy
Go to download
A module that creates a .jar from the classes in wicket, wicket-util and wicket-request modules in order
to create a valid OSGi bundle of the wicket framework.
package org.apache.wicket.ajax.json;
import org.apache.wicket.WicketRuntimeException;
/**
* @deprecated since 6.27.0/7.7.0 for legal reasons.
*/
@Deprecated
@SuppressWarnings("javadoc")
public class HTTP
{
public static final String CRLF = "\r\n";
public static JSONObject toJSONObject(String string) throws JSONException
{
throw new WicketRuntimeException(JsonConstants.OPEN_JSON_EXCEPTION);
}
public static String toString(JSONObject jo) throws JSONException
{
throw new WicketRuntimeException(JsonConstants.OPEN_JSON_EXCEPTION);
}
}