it.com.atlassian.gzipfilter
Class TestMimeTypeAndBrowserHandling
java.lang.Object
it.com.atlassian.gzipfilter.TestMimeTypeAndBrowserHandling
public class TestMimeTypeAndBrowserHandling
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestMimeTypeAndBrowserHandling
public TestMimeTypeAndBrowserHandling()
testWebappDoesNotGzipWhenClientDoesNotSupportIt
public void testWebappDoesNotGzipWhenClientDoesNotSupportIt()
throws IOException
- Throws:
IOException
testWebappDoesGzipAndContentIsCorrect
public void testWebappDoesGzipAndContentIsCorrect()
throws IOException
- Throws:
IOException
testWebappOnlyGzipsCertainMimeTypes
public void testWebappOnlyGzipsCertainMimeTypes()
throws IOException
- Throws:
IOException
testWebappOnlyGzipsCertainMimeTypesForCertainBrowsers
public void testWebappOnlyGzipsCertainMimeTypesForCertainBrowsers()
throws IOException
- Throws:
IOException
testUTF8
public void testUTF8()
throws IOException
- Throws:
IOException
gzipContent
protected byte[] gzipContent(String content)
throws IOException
- Throws:
IOException
gunzipContent
protected String gunzipContent(byte[] content,
String mimeType)
throws IOException
- Throws:
IOException
Copyright © 2015 Atlassian. All rights reserved.