| Constructor and Description |
|---|
WebAppMediaFilterUnitTest() |
public void shouldPrintNotAllowedMessageWhenRequestingResourceFromClassloaderAndItDoesntContainAllowedExtension()
throws Exception
Exceptionpublic void shouldPrintFileNotFoundMessageWhenRequestingResourceFromClassloaderAndItDoesntExist()
throws Exception
Exceptionpublic void shouldLoadFileFromClassloaderWhenRequestingResourceFromJarAndItExist()
throws Exception
Exceptionpublic void shouldSend404ResponseWhenRequestingNormalResourceAndItDoesntExist()
throws Exception
Exceptionpublic void shouldSend403WhenRequestTriesToAccessSecuredFolderViaNonSecureMediaFilter()
throws Exception
Exceptionpublic void shouldSend404ResponseWhenRequestingNormalResourceAndUnderlyingStorageStrategyWillThrowMediaNotFoundException()
throws Exception
Exceptionpublic void shouldServeMediaFileAsStreamWhenRequestingNormalResource()
throws Exception
Exceptionpublic void shouldServeMediaFileAsStreamWhenRequestingNormalResourceWithPrettyURL()
throws Exception
Exceptionpublic void shouldServeMediaFileAsStreamWhenRequestingNormalResourceWithPrettyURLFromFolderWithFancyName()
throws Exception
Exceptionpublic void shouldServeMediaFileAsStreamWhenRequestingNormalResourceWithPrettyURLFromFancyFolderPath()
throws Exception
Exceptionpublic void shouldServeMediaFileAsStreamWhenRequestingNormalResourceWithPrettyURLFromRootMediaFolder()
throws Exception
Exceptionpublic void shouldServeMediaFileAsStreamWithContentDispositionHeaderWhenRequestingXLSFile()
throws Exception
Exceptionpublic void shouldSend304ResponseWhenRequestingResourceAndRequestContainMatchingETagHeader()
throws Exception
Exceptionpublic void shouldProcessStandardResponseWhenRequestingResourceAndResourcePathContainETagValueButRequestDoesNotHaveIfNonMatch()
throws Exception
Exceptionpublic void shouldSendBadRequestResponseStatusIfMalformedURLExceptionWillBeThrown()
throws Exception
Exceptionpublic void shouldAddConfiguredHeadersToResponse()
throws Exception
ExceptionCopyright © 2017 SAP SE. All Rights Reserved.