@Provider
@Produces(value={"application/json","application/x-javascript"})
public class ProgressStatusEventJsonProvider
extends BaseProvider<ProgressStatusEvent>
desiredType, habitat, HEADER_DEBUG, JSONP_CALLBACK, requestHeaders, supportedMediaTypes, uriInfo| Constructor and Description |
|---|
ProgressStatusEventJsonProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContent(ProgressStatusEvent proxy) |
protected boolean |
isGivenTypeWritable(Class<?> type,
Type genericType)
Overwrite this if you need different test of type compatibility.
|
void |
writeTo(ProgressStatusEvent proxy,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
canShowDeprecatedItems, canShowHiddenCommands, getCallBackJSONP, getResourceLinks, getResourceLinks, getSize, getXmlCommandLinks, isDebug, isWriteableprotected boolean isGivenTypeWritable(Class<?> type, Type genericType)
BaseProviderisGivenTypeWritable in class BaseProvider<ProgressStatusEvent>public void writeTo(ProgressStatusEvent proxy, 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<ProgressStatusEvent>writeTo in class BaseProvider<ProgressStatusEvent>IOExceptionjavax.ws.rs.WebApplicationExceptionpublic String getContent(ProgressStatusEvent proxy)
getContent in class BaseProvider<ProgressStatusEvent>Copyright © 2019. All rights reserved.