Class MultipartProprietaryReader
- java.lang.Object
-
- com.sun.enterprise.admin.remote.reader.MultipartProprietaryReader
-
- All Implemented Interfaces:
ProprietaryReader<ParamsWithPayload>
public class MultipartProprietaryReader extends Object implements ProprietaryReader<ParamsWithPayload>
- Author:
- martinmares
-
-
Constructor Summary
Constructors Constructor Description MultipartProprietaryReader()MultipartProprietaryReader(ActionReportJsonProprietaryReader actionReportReader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisReadable(Class<?> type, String mimetype)ParamsWithPayloadreadFrom(InputStream is, String contentType)ParamsWithPayloadreadFrom(HttpURLConnection urlConnection)
-
-
-
Constructor Detail
-
MultipartProprietaryReader
public MultipartProprietaryReader()
-
MultipartProprietaryReader
public MultipartProprietaryReader(ActionReportJsonProprietaryReader actionReportReader)
-
-
Method Detail
-
isReadable
public boolean isReadable(Class<?> type, String mimetype)
- Specified by:
isReadablein interfaceProprietaryReader<ParamsWithPayload>
-
readFrom
public ParamsWithPayload readFrom(HttpURLConnection urlConnection) throws IOException
- Throws:
IOException
-
readFrom
public ParamsWithPayload readFrom(InputStream is, String contentType) throws IOException
- Specified by:
readFromin interfaceProprietaryReader<ParamsWithPayload>- Throws:
IOException
-
-