Class ActionReportJsonProprietaryReader
java.lang.Object
com.sun.enterprise.admin.remote.reader.ActionReportJsonProprietaryReader
- All Implemented Interfaces:
ProprietaryReader<org.glassfish.api.ActionReport>
public class ActionReportJsonProprietaryReader
extends Object
implements ProprietaryReader<org.glassfish.api.ActionReport>
Reads ActionReport from JSON format.
- Author:
- mmares
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfillActionReport(org.glassfish.api.ActionReport ar, org.codehaus.jettison.json.JSONObject json) booleanisReadable(Class<?> type, String mimetype) org.glassfish.api.ActionReportreadFrom(InputStream is, String contentType) org.glassfish.api.ActionReportreadFrom(HttpURLConnection urlConnection)
-
Constructor Details
-
ActionReportJsonProprietaryReader
public ActionReportJsonProprietaryReader()
-
-
Method Details
-
isReadable
- Specified by:
isReadablein interfaceProprietaryReader<org.glassfish.api.ActionReport>
-
readFrom
- Throws:
IOException
-
readFrom
public org.glassfish.api.ActionReport readFrom(InputStream is, String contentType) throws IOException - Specified by:
readFromin interfaceProprietaryReader<org.glassfish.api.ActionReport>- Throws:
IOException
-
fillActionReport
public static void fillActionReport(org.glassfish.api.ActionReport ar, org.codehaus.jettison.json.JSONObject json) throws org.codehaus.jettison.json.JSONException - Throws:
org.codehaus.jettison.json.JSONException
-