Class AgentFilesProvider


  • public class AgentFilesProvider
    extends Object
    A web-level API to access the remote agent files.

    All the files received from the agents are cleaned after 10 minutes.

    Since:
    8.1
    Author:
    Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
    • Method Detail

      • getAgentFile

        @NotNull
        public File getAgentFile​(@NotNull
                                 String agentName,
                                 @NotNull
                                 String fileName)
      • streamAgentFile

        public void streamAgentFile​(@NotNull
                                    File file,
                                    @NotNull
                                    javax.servlet.http.HttpServletRequest request,
                                    @NotNull
                                    javax.servlet.http.HttpServletResponse response)
                             throws IOException
        Throws:
        IOException