@Provider public class UncaughtExceptionEntityWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<UncaughtExceptionEntity>
UncaughtExceptionEntitys out as plain text.| Constructor and Description |
|---|
UncaughtExceptionEntityWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(UncaughtExceptionEntity t,
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 mediaType) |
void |
writeTo(UncaughtExceptionEntity 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(UncaughtExceptionEntity t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<UncaughtExceptionEntity>public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<UncaughtExceptionEntity>public void writeTo(UncaughtExceptionEntity 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<UncaughtExceptionEntity>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2016 Atlassian. All rights reserved.