Class FixedContent

    • Constructor Detail

      • FixedContent

        public FixedContent​(File file)
      • FixedContent

        public FixedContent()
    • Method Detail

      • process

        public void process​(String relativeURIString,
                            org.glassfish.grizzly.http.server.Request gReq,
                            org.glassfish.grizzly.http.server.Response gResp)
                     throws IOException
        Description copied from interface: StaticContent
        Process the static content, adding the correct data to the response.
        Specified by:
        process in interface StaticContent
        Parameters:
        relativeURIString - URI path by which the content was addressed
        gReq - the request
        gResp - the response
        Throws:
        IOException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object