Class SingleEntityPartReader
java.lang.Object
org.glassfish.jersey.media.multipart.internal.SingleEntityPartReader
- All Implemented Interfaces:
MessageBodyReader<EntityPart>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isReadable
(Class<?> type, Type generic, Annotation[] annotations, MediaType mediaType) readFrom
(Class<EntityPart> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream)
-
Constructor Details
-
SingleEntityPartReader
-
-
Method Details
-
isReadable
public boolean isReadable(Class<?> type, Type generic, Annotation[] annotations, MediaType mediaType) - Specified by:
isReadable
in interfaceMessageBodyReader<EntityPart>
-
readFrom
public EntityPart readFrom(Class<EntityPart> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) throws IOException, WebApplicationException- Specified by:
readFrom
in interfaceMessageBodyReader<EntityPart>
- Throws:
IOException
WebApplicationException
-