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 booleancheckPermissions(AuthorityHolder authorityHolder)StringgetEncoding(File file)FilegetFile(String requestPath)Pair<File,String>getInsideZipData(String requestPath)StringgetPath()FilegetZipDirectory()StringgetZipName()booleanisInsideZipRequest(String requestPath)booleanisZipAllowed()booleanisZipRequest(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()
-
-