T
- @Deprecated public abstract class AbstractReader<T> extends GenericAware<T> implements javax.ws.rs.ext.MessageBodyReader<T>, javax.ws.rs.ext.ParamConverterProvider
ct, t
Constructor and Description |
---|
AbstractReader()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.ext.ParamConverter<T> |
getConverter(Class rawType,
Type genericType,
Annotation[] annotations)
Deprecated.
|
List<AbstractReader> |
getSpecificTypeReaders()
Deprecated.
|
protected Boolean |
isAcceptable(String s)
Deprecated.
|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
Deprecated.
|
T |
readFrom(Class<T> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
Deprecated.
|
void |
setSpecificTypeReaders(List<AbstractReader> specificTypeReaders)
Deprecated.
|
@Deprecated protected Boolean isAcceptable(String s)
MediaType
.ProviderFactory#chooseMessageReader}
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<T>
public T readFrom(Class<T> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<T>
IOException
javax.ws.rs.WebApplicationException
public javax.ws.rs.ext.ParamConverter<T> getConverter(Class rawType, Type genericType, Annotation[] annotations)
getConverter
in interface javax.ws.rs.ext.ParamConverterProvider
public List<AbstractReader> getSpecificTypeReaders()
MediaType
.ProviderFactory#chooseMessageReader}
public void setSpecificTypeReaders(List<AbstractReader> specificTypeReaders)
MediaType
.ProviderFactory#chooseMessageReader}
Copyright © 2018. All rights reserved.