Class ContentResource


  • @Path("/view/contents/{resource:.*}")
    public class ContentResource
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Map<java.lang.String,​java.lang.String> lastModified  
      static java.util.logging.Logger LOGGER  
    • Constructor Summary

      Constructors 
      Constructor Description
      ContentResource()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response open​(java.lang.String path, javax.servlet.ServletContext sc, javax.ws.rs.core.HttpHeaders httpHeaders)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGGER

        public static final java.util.logging.Logger LOGGER
      • lastModified

        public static final java.util.Map<java.lang.String,​java.lang.String> lastModified
    • Constructor Detail

      • ContentResource

        public ContentResource()
    • Method Detail

      • open

        @GET
        public javax.ws.rs.core.Response open​(@PathParam("resource")
                                              java.lang.String path,
                                              @Context
                                              javax.servlet.ServletContext sc,
                                              @Context
                                              javax.ws.rs.core.HttpHeaders httpHeaders)
                                       throws java.io.IOException
        Throws:
        java.io.IOException