@Provider @Consumes(value={"text/yaml","text/x-yaml","application/x-yaml"}) @Produces(value={"text/yaml","text/x-yaml","application/x-yaml"}) @Deprecated public class YamlProvider extends AbstractEntityProvider<Object>
text/yaml
text/x-yaml
application/x-yaml
Constructor and Description |
---|
YamlProvider()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
Deprecated.
|
protected boolean |
isValidInternalType(Class type)
Deprecated.
|
protected boolean |
isValidType(Class type)
Deprecated.
|
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
Deprecated.
|
Object |
readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
Deprecated.
|
void |
writeTo(Object t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
Deprecated.
|
getSize
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
public Object readFrom(Class<Object> 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
IOException
javax.ws.rs.WebApplicationException
protected boolean isValidInternalType(Class type)
protected boolean isValidType(Class type)
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
public void writeTo(Object t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
IOException
javax.ws.rs.WebApplicationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.