jetbrains.buildServer.web
Class WebAccessService.ProviderBean

java.lang.Object
  extended by jetbrains.buildServer.web.WebAccessService.ProviderBean
Enclosing class:
WebAccessService

public static class WebAccessService.ProviderBean
extends java.lang.Object


Constructor Summary
WebAccessService.ProviderBean(WebAccess webAccessId, java.lang.String path, PermissionChecker checker, WebAccessHelper helper)
           
 
Method Summary
 boolean checkPermissions(AuthorityHolder authorityHolder)
           
 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.io.File getZipDirectory()
           
 java.lang.String getZipName()
           
 boolean isInsideZipRequest(java.lang.String requestPath)
           
 boolean isZipAllowed()
           
 boolean isZipRequest(java.lang.String requestPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebAccessService.ProviderBean

public WebAccessService.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)

getZipDirectory

@NotNull
public java.io.File getZipDirectory()

getZipName

@NotNull
public java.lang.String getZipName()