Constructor and Description |
---|
AppleBodyReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
Apple |
readFrom(Class<Apple> appleClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> stringStringMultivaluedMap,
InputStream inputStream) |
public boolean isReadable(Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<Apple>
public Apple readFrom(Class<Apple> appleClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> stringStringMultivaluedMap, InputStream inputStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<Apple>
IOException
javax.ws.rs.WebApplicationException
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.