org.apache.cxf.management.web.browser.bootstrapping
Class BootstrapStorage.StaticFileProvider
java.lang.Object
org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage.StaticFileProvider
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyWriter<org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage.StaticFile>
- Enclosing class:
- BootstrapStorage
@Provider
public static class BootstrapStorage.StaticFileProvider
- extends Object
- implements javax.ws.rs.ext.MessageBodyWriter<org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage.StaticFile>
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BootstrapStorage.StaticFileProvider
public BootstrapStorage.StaticFileProvider()
isWriteable
public boolean isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage.StaticFile>
getSize
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)
- Specified by:
getSize in interface javax.ws.rs.ext.MessageBodyWriter<org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage.StaticFile>
writeTo
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
- Specified by:
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<org.apache.cxf.management.web.browser.bootstrapping.BootstrapStorage.StaticFile>
- Throws:
IOException
Apache CXF