Class NotExistHttpResource

    • Constructor Detail

      • NotExistHttpResource

        public NotExistHttpResource​(java.lang.String path)
        Initiate.
        Parameters:
        path - Path.
    • Method Detail

      • isExist

        public boolean isExist()
        Description copied from interface: HttpResource

        Indicates if this HttpResource exists. Should this HttpResource not exist, only the path will be available.

        This allows for caching of HttpResource instances not existing.

        Returns:
        true if this HttpResource exists.
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException