@Provider public static class BootstrapStorage.StaticFileProvider extends Object implements javax.ws.rs.ext.MessageBodyWriter<org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage.StaticFile>
| Constructor and Description |
|---|
BootstrapStorage.StaticFileProvider() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage.StaticFile staticFile,
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(org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage.StaticFile staticFile,
Class<?> clazz,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType type,
javax.ws.rs.core.MultivaluedMap<String,Object> headers,
OutputStream os) |
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage.StaticFile>public long getSize(org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage.StaticFile staticFile,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage.StaticFile>public void writeTo(org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage.StaticFile staticFile,
Class<?> clazz,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType type,
javax.ws.rs.core.MultivaluedMap<String,Object> headers,
OutputStream os)
throws IOException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage.StaticFile>IOExceptionApache CXF