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