Class StaticContentResource

  • All Implemented Interfaces:

    public class StaticContentResource
    extends java.lang.Object
    implements ResourceHandler
    REST resource to serve static content.
    • Constructor Summary

      Constructor Description
      StaticContentResource​(java.nio.file.Path dir, java.lang.String urlPath)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description getInvocations()
      Return the Invocations handled by this ResourceHandler.
      • Methods inherited from class java.lang.Object

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

      • StaticContentResource

        public StaticContentResource​(java.nio.file.Path dir,
                                     java.lang.String urlPath)
        dir - The path to serve files from
        urlPath - The url path to serve the files
    • Method Detail

      • getInvocations

        public getInvocations()
        Description copied from interface: ResourceHandler
        Return the Invocations handled by this ResourceHandler.
        Specified by:
        getInvocations in interface ResourceHandler