Interface FileEndpoint

  • All Known Implementing Classes:
    FileEndpointImpl

    @Path("/file")
    @Consumes("text/plain")
    @Produces("application/json")
    public interface FileEndpoint
    Contains methods for checking if files exist and other file manipulation tasks on the server.
    Author:
    Jesse Sightler
    • Method Detail

      • pathExists

        @POST
        @Path("pathExists")
        boolean pathExists​(String path)
      • pathTargetType

        @POST
        @Path("pathTargetType")
        FileEndpoint.PathTargetType pathTargetType​(String path)
        Gets an indication as to whether the given path is a file or a directory. This will return null if this cannot be determined for any reason. For example, this will return null if the path is blank, non-existent, or if the server has no read permissions on this path.