PHP 클래스 Elgg\Application\ServeFileHandlerTest

상속: extends Elgg\TestCase
파일 보기 프로젝트 열기: elgg/elgg

보호된 프로퍼티들

프로퍼티 타입 설명
$file ElggFile
$handler ServeFileHandler

공개 메소드들

메소드 설명
createRequest ( File $file )
setUp ( )
testInvalidDisposition ( )
testResponseCodesOnSessionRestartWithCookieEnabledForFileUrls ( )
testResponseHeadersMatchFileAttributesForAttachmentUrls ( )
testResponseHeadersMatchFileAttributesForInlineUrls ( )
testSend400WhenUrlIsMalformmatted ( )
testSend403OnUrlExpiration ( )
testSends304WithIfNoneMatchHeadersIncluded ( )
testSends304WithIfNoneMatchHeadersIncludedAndDeflationEnabled ( )
testSends403OnFileModificationTimeMismatch ( )

메소드 상세

createRequest() 공개 메소드

public createRequest ( File $file )
$file Elgg\FileService\File

setUp() 공개 메소드

public setUp ( )

testInvalidDisposition() 공개 메소드

testResponseCodesOnSessionRestartWithCookieEnabledForFileUrls() 공개 메소드

testResponseHeadersMatchFileAttributesForAttachmentUrls() 공개 메소드

testResponseHeadersMatchFileAttributesForInlineUrls() 공개 메소드

testSend400WhenUrlIsMalformmatted() 공개 메소드

testSend403OnUrlExpiration() 공개 메소드

testSends304WithIfNoneMatchHeadersIncluded() 공개 메소드

testSends304WithIfNoneMatchHeadersIncludedAndDeflationEnabled() 공개 메소드

testSends403OnFileModificationTimeMismatch() 공개 메소드

프로퍼티 상세

$file 보호되어 있는 프로퍼티

protected ElggFile $file
리턴 ElggFile

$handler 보호되어 있는 프로퍼티

protected ServeFileHandler,Elgg\Application $handler
리턴 ServeFileHandler