public static class WebAccessService.ProviderBean
extends java.lang.Object
Constructor and Description |
---|
ProviderBean(WebAccess webAccessId,
java.lang.String path,
PermissionChecker checker,
WebAccessHelper helper) |
Modifier and Type | Method and 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) |
public ProviderBean(WebAccess webAccessId, java.lang.String path, PermissionChecker checker, WebAccessHelper helper)
public boolean checkPermissions(@NotNull AuthorityHolder authorityHolder) throws AccessDeniedException
AccessDeniedException
public boolean isZipRequest(@NotNull java.lang.String requestPath)
public boolean isZipAllowed()
public boolean isInsideZipRequest(@NotNull java.lang.String requestPath)
@NotNull public java.io.File getFile(@NotNull java.lang.String requestPath)
@NotNull public com.intellij.openapi.util.Pair<java.io.File,java.lang.String> getInsideZipData(@NotNull java.lang.String requestPath)
public java.lang.String getPath()
@NotNull public java.io.File getZipDirectory()
@NotNull public java.lang.String getZipName()
@Nullable public java.lang.String getEncoding(@NotNull java.io.File file)