public class ServletTest extends Object
Servlet class.| Modifier and Type | Class and Description |
|---|---|
static class |
ServletTest.TestableServlet
Test purpose servlet implementation.
|
| Constructor and Description |
|---|
ServletTest() |
public void testGETIncludesQueryString()
throws Exception
Exceptionpublic void testGETwithFormatAndIRIinParam()
throws Exception
Exceptionpublic void testGETwithURLDecodingInParam()
throws Exception
Exceptionpublic void testPOSTWorksWithParametersOnContentType()
throws Exception
Exceptionpublic void testGETwithURLEncoding()
throws Exception
Exception - if there is an error asserting test datapublic void testGETwithURLEncodingWithQuery()
throws Exception
Exception - if there is an error asserting test datapublic void testGETwithURLEncodingWithFragment()
throws Exception
Exception - if there is an error asserting test datapublic void testPOSTwithoutContentType()
throws Exception
Exceptionpublic void testPOSTwithContentTypeParam()
throws Exception
Exceptionpublic void testPOSTbodyMissingFormat()
throws Exception
Exceptionpublic void testContentNegotiationDefaultsToTurtle()
throws Exception
Exceptionpublic void testContentNegotiationForWildcardReturnsTurtle()
throws Exception
Exceptionpublic void testContentNegotiationForUnacceptableFormatReturns406()
throws Exception
Exceptionpublic void testContentNegotiationForTurtle()
throws Exception
Exceptionpublic void testContentNegotiationForTurtleAlias()
throws Exception
Exceptionpublic void testContentNegotiationForRDFXML()
throws Exception
Exceptionpublic void testContentNegotiationForNTriples()
throws Exception
ExceptionCopyright © 2010–2019 The Apache Software Foundation. All rights reserved.