Class SecureResponseWrapperTest

java.lang.Object
de.hybris.platform.servicelayer.web.SecureResponseWrapperTest

public class SecureResponseWrapperTest extends Object
  • Constructor Details

    • SecureResponseWrapperTest

      public SecureResponseWrapperTest()
  • Method Details

    • createSecureResponseWrapper

      public void createSecureResponseWrapper() throws Exception
      Throws:
      Exception
    • shouldProcessNormalRedirectWhenLocationDoesNotContainCRLF

      public void shouldProcessNormalRedirectWhenLocationDoesNotContainCRLF() throws IOException
      Throws:
      IOException
    • shouldThrowMalformedURLExceptionWhenRedirectLocationContainsCR

      public void shouldThrowMalformedURLExceptionWhenRedirectLocationContainsCR() throws IOException
      Throws:
      IOException
    • shouldThrowMalformedURLExceptionWhenRedirectLocationContainsLF

      public void shouldThrowMalformedURLExceptionWhenRedirectLocationContainsLF() throws IOException
      Throws:
      IOException
    • shouldThrowMalformedURLExceptionWhenRedirectLocationContainsCRLF

      public void shouldThrowMalformedURLExceptionWhenRedirectLocationContainsCRLF() throws IOException
      Throws:
      IOException
    • shouldSetNewHeaderIfHeaderValueDoesNotContainCRLF

      public void shouldSetNewHeaderIfHeaderValueDoesNotContainCRLF()
    • shouldThrowIllegalArgumentExceptionWhenHeaderArgumentContaisCR

      public void shouldThrowIllegalArgumentExceptionWhenHeaderArgumentContaisCR()
    • shouldThrowIllegalArgumentExceptionWhenHeaderArgumentContaisLF

      public void shouldThrowIllegalArgumentExceptionWhenHeaderArgumentContaisLF()
    • shouldThrowIllegalArgumentExceptionWhenHeaderArgumentContaisCRLF

      public void shouldThrowIllegalArgumentExceptionWhenHeaderArgumentContaisCRLF()
    • shouldAddNewHeaderIfHeaderValueDoesNotContainCRLF

      public void shouldAddNewHeaderIfHeaderValueDoesNotContainCRLF()
    • shouldThrowIllegalArgumentExceptionWhenHeaderArgumentToAddContaisCR

      public void shouldThrowIllegalArgumentExceptionWhenHeaderArgumentToAddContaisCR()
    • shouldThrowIllegalArgumentExceptionWhenHeaderArgumentToAddContaisLF

      public void shouldThrowIllegalArgumentExceptionWhenHeaderArgumentToAddContaisLF()
    • shouldThrowIllegalArgumentExceptionWhenHeaderArgumentToAddContaisCRLF

      public void shouldThrowIllegalArgumentExceptionWhenHeaderArgumentToAddContaisCRLF()