public class HTTPSOAP11DecoderTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Modifier and Type | Class and Description |
|---|---|
class |
HTTPSOAP11DecoderTest.TestEnvelopeBodyHandler |
class |
HTTPSOAP11DecoderTest.TestPayloadBodyHandler |
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.soap.soap11.decoder.http.impl.HTTPSOAP11Decoder |
decoder |
private MockHttpServletRequest |
httpRequest |
| Constructor and Description |
|---|
HTTPSOAP11DecoderTest() |
| Modifier and Type | Method and Description |
|---|---|
private byte[] |
getServletRequestContent(String resourceName)
Get a resource relative to a class.
|
protected void |
setUp() |
void |
testDecodeToEnvelope()
Test basic no header case.
|
void |
testDecodeToPayload()
Test basic no header case.
|
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElementprivate org.opensaml.soap.soap11.decoder.http.impl.HTTPSOAP11Decoder decoder
private MockHttpServletRequest httpRequest
public void testDecodeToEnvelope()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException,
org.opensaml.messaging.decoder.MessageDecodingException,
IOException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionorg.opensaml.messaging.decoder.MessageDecodingExceptionIOExceptionorg.opensaml.security.SecurityExceptionpublic void testDecodeToPayload()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException,
org.opensaml.messaging.decoder.MessageDecodingException,
IOException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionorg.opensaml.messaging.decoder.MessageDecodingExceptionIOExceptionorg.opensaml.security.SecurityExceptionprivate byte[] getServletRequestContent(String resourceName) throws IOException
resourceName - IOExceptionCopyright © 1999–2015. All rights reserved.