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 Constructor Description ActionReportJsonProprietaryReader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
isReadable
public boolean isReadable(Class<?> type, String mimetype)
- Specified by:
isReadablein interfaceProprietaryReader<org.glassfish.api.ActionReport>
-
readFrom
public org.glassfish.api.ActionReport readFrom(HttpURLConnection urlConnection) throws IOException
- 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
-
-