Class WebAccess


  • public class WebAccess
    extends Object
    The helper object representing the access point to the file.
    Since:
    6.0
    Author:
    Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
    See Also:
    WebAccessService
    • Constructor Detail

      • WebAccess

        public WebAccess​(@NotNull
                         WebLinks webLinks,
                         @NotNull
                         String id)
    • Method Detail

      • getLinkForFile

        @NotNull
        public String getLinkForFile​(@NotNull
                                     String relativePath)
      • getLinkForZip

        @NotNull
        public String getLinkForZip()
      • getFullLinkToFile

        public String getFullLinkToFile​(@NotNull
                                        String relativePath)
      • getFullLinkToZip

        public String getFullLinkToZip()
      • getId

        public String getId()
      • matchesRequest

        public boolean matchesRequest​(@NotNull
                                      String requestPath)
      • isFileRequest

        public boolean isFileRequest​(@NotNull
                                     String requestPath)
      • isZipRequest

        public boolean isZipRequest​(@NotNull
                                    String requestPath)
      • isInsideZipRequest

        public boolean isInsideZipRequest​(@NotNull
                                          String requestPath)
      • getRelativePath

        public String getRelativePath​(@NotNull
                                      String requestPath)
      • getRelativeAndInsideZipPaths

        public Pair<String,​String> getRelativeAndInsideZipPaths​(@NotNull
                                                                      String requestPath)