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
Exception
public void testGETwithFormatAndIRIinParam() throws Exception
Exception
public void testGETwithURLDecodingInParam() throws Exception
Exception
public void testPOSTWorksWithParametersOnContentType() throws Exception
Exception
public 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
Exception
public void testPOSTwithContentTypeParam() throws Exception
Exception
public void testPOSTbodyMissingFormat() throws Exception
Exception
public void testContentNegotiationDefaultsToTurtle() throws Exception
Exception
public void testContentNegotiationForWildcardReturnsTurtle() throws Exception
Exception
public void testContentNegotiationForUnacceptableFormatReturns406() throws Exception
Exception
public void testContentNegotiationForTurtle() throws Exception
Exception
public void testContentNegotiationForTurtleAlias() throws Exception
Exception
public void testContentNegotiationForRDFXML() throws Exception
Exception
public void testContentNegotiationForNTriples() throws Exception
Exception
Copyright © 2010–2019 The Apache Software Foundation. All rights reserved.