Package jetbrains.buildServer.web
Class WebAccessService.ProviderBean
- java.lang.Object
-
- jetbrains.buildServer.web.WebAccessService.ProviderBean
-
- Enclosing class:
- WebAccessService
public static class WebAccessService.ProviderBean extends Object
-
-
Constructor Summary
Constructors Constructor Description ProviderBean(WebAccess webAccessId, String path, PermissionChecker checker, WebAccessHelper helper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkPermissions(AuthorityHolder authorityHolder)
String
getEncoding(File file)
File
getFile(String requestPath)
Pair<File,String>
getInsideZipData(String requestPath)
String
getPath()
File
getZipDirectory()
String
getZipName()
boolean
isInsideZipRequest(String requestPath)
boolean
isZipAllowed()
boolean
isZipRequest(String requestPath)
-
-
-
Constructor Detail
-
ProviderBean
public ProviderBean(WebAccess webAccessId, String path, PermissionChecker checker, WebAccessHelper helper)
-
-
Method Detail
-
checkPermissions
public boolean checkPermissions(@NotNull AuthorityHolder authorityHolder) throws AccessDeniedException
- Throws:
AccessDeniedException
-
isZipRequest
public boolean isZipRequest(@NotNull String requestPath)
-
isZipAllowed
public boolean isZipAllowed()
-
isInsideZipRequest
public boolean isInsideZipRequest(@NotNull String requestPath)
-
getPath
public String getPath()
-
getZipDirectory
@NotNull public File getZipDirectory()
-
getZipName
@NotNull public String getZipName()
-
-