Class SingleEntityPartReader
- java.lang.Object
-
- org.glassfish.jersey.media.multipart.internal.SingleEntityPartReader
-
- All Implemented Interfaces:
MessageBodyReader<EntityPart>
public class SingleEntityPartReader extends Object implements MessageBodyReader<EntityPart>
-
-
Constructor Summary
Constructors Constructor Description SingleEntityPartReader(Providers providers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisReadable(Class<?> type, Type generic, Annotation[] annotations, MediaType mediaType)EntityPartreadFrom(Class<EntityPart> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)
-
-
-
Method Detail
-
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
-
-