Class SingleEntityPartReader
java.lang.Object
org.glassfish.jersey.media.multipart.internal.SingleEntityPartReader
- All Implemented Interfaces:
MessageBodyReader<EntityPart>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisReadable(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:
isReadablein 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:
readFromin interfaceMessageBodyReader<EntityPart>- Throws:
IOExceptionWebApplicationException
-