Class ProgressStatusEventJsonProprietaryReader
- java.lang.Object
-
- com.sun.enterprise.admin.remote.reader.ProgressStatusEventJsonProprietaryReader
-
- All Implemented Interfaces:
ProprietaryReader<ProgressStatusEvent>
public class ProgressStatusEventJsonProprietaryReader extends Object implements ProprietaryReader<ProgressStatusEvent>
- Author:
- mmares
-
-
Constructor Summary
Constructors Constructor Description ProgressStatusEventJsonProprietaryReader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isReadable(Class<?> type, String mimetype)
ProgressStatusEvent
readFrom(InputStream is, String contentType)
ProgressStatusEvent
readFrom(HttpURLConnection urlConnection)
static ProgressStatusEvent
readProgressStatusEvent(com.fasterxml.jackson.core.JsonParser jp)
static void
readToPSEventComplete(ProgressStatusEventComplete event, com.fasterxml.jackson.core.JsonParser jp)
static void
readToPSEventCreateChild(ProgressStatusEventCreateChild event, com.fasterxml.jackson.core.JsonParser jp)
static void
readToPSEventProgress(ProgressStatusEventProgress event, com.fasterxml.jackson.core.JsonParser jp)
static void
readToPSEventSet(ProgressStatusEventSet event, com.fasterxml.jackson.core.JsonParser jp)
-
-
-
Method Detail
-
isReadable
public boolean isReadable(Class<?> type, String mimetype)
- Specified by:
isReadable
in interfaceProprietaryReader<ProgressStatusEvent>
-
readFrom
public ProgressStatusEvent readFrom(HttpURLConnection urlConnection) throws IOException
- Throws:
IOException
-
readFrom
public ProgressStatusEvent readFrom(InputStream is, String contentType) throws IOException
- Specified by:
readFrom
in interfaceProprietaryReader<ProgressStatusEvent>
- Throws:
IOException
-
readProgressStatusEvent
public static ProgressStatusEvent readProgressStatusEvent(com.fasterxml.jackson.core.JsonParser jp) throws IOException
- Throws:
IOException
-
readToPSEventSet
public static void readToPSEventSet(ProgressStatusEventSet event, com.fasterxml.jackson.core.JsonParser jp) throws IOException
- Throws:
IOException
-
readToPSEventProgress
public static void readToPSEventProgress(ProgressStatusEventProgress event, com.fasterxml.jackson.core.JsonParser jp) throws IOException
- Throws:
IOException
-
readToPSEventComplete
public static void readToPSEventComplete(ProgressStatusEventComplete event, com.fasterxml.jackson.core.JsonParser jp) throws IOException
- Throws:
IOException
-
readToPSEventCreateChild
public static void readToPSEventCreateChild(ProgressStatusEventCreateChild event, com.fasterxml.jackson.core.JsonParser jp) throws IOException
- Throws:
IOException
-
-