Class ParamsWithPayloadJsonProprietaryReader
java.lang.Object
com.sun.enterprise.admin.remote.reader.ParamsWithPayloadJsonProprietaryReader
- All Implemented Interfaces:
ProprietaryReader<ParamsWithPayload>
public final class ParamsWithPayloadJsonProprietaryReader
extends Object
implements ProprietaryReader<ParamsWithPayload>
- Author:
- martinmares
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanisReadable(Class<?> type, String mimetype) readFrom(InputStream is, String contentType) Reads and closes the stream, or can transfer both respnsibilities to a returned object.readFrom(HttpURLConnection urlConnection)
-
Constructor Details
-
ParamsWithPayloadJsonProprietaryReader
-
ParamsWithPayloadJsonProprietaryReader
public ParamsWithPayloadJsonProprietaryReader()
-
-
Method Details
-
isReadable
- Specified by:
isReadablein interfaceProprietaryReader<ParamsWithPayload>
-
readFrom
- Throws:
IOException
-
readFrom
Description copied from interface:ProprietaryReaderReads and closes the stream, or can transfer both respnsibilities to a returned object.- Specified by:
readFromin interfaceProprietaryReader<ParamsWithPayload>- Parameters:
is-contentType-- Returns:
- T
- Throws:
IOException
-