@Consumes(value="application/vnd.atomikos+json") @Produces(value="application/vnd.atomikos+json") @Provider public class ParticipantsProvider extends Object implements javax.ws.rs.ext.MessageBodyWriter<Map<String,Integer>>, javax.ws.rs.ext.MessageBodyReader<Map<String,Integer>>
| Modifier and Type | Field and Description |
|---|---|
protected javax.ws.rs.ext.Providers |
providers |
| Constructor and Description |
|---|
ParticipantsProvider() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(Map<String,Integer> l,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mt) |
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mt) |
HashMap<String,Integer> |
readFrom(Class<Map<String,Integer>> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
writeTo(Map<String,Integer> t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public long getSize(Map<String,Integer> l, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mt)
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mt)
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
public HashMap<String,Integer> readFrom(Class<Map<String,Integer>> 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<Map<String,Integer>>IOExceptionjavax.ws.rs.WebApplicationExceptionpublic void writeTo(Map<String,Integer> 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
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<Map<String,Integer>>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2026. All rights reserved.