Package org.springframework.integration.x.ip.serializer.AbstractHttpSwitchingDeserializer

Examples of org.springframework.integration.x.ip.serializer.AbstractHttpSwitchingDeserializer.BasicState


    InputStream stream = new ByteArrayInputStream(simplePath.getBytes());

    DataFrame frame = deserializer.deserialize(stream);
    assertEquals(DataFrame.TYPE_HEADERS, frame.getType());

    BasicState state = deserializer.getState(stream);
    assertNotNull(state);
    assertEquals("/foo", state.getPath());
    assertNull(state.getQueryString());
  }
View Full Code Here


    InputStream stream = new ByteArrayInputStream(simplePath.getBytes());

    DataFrame frame = deserializer.deserialize(stream);
    assertEquals(DataFrame.TYPE_HEADERS, frame.getType());

    BasicState state = deserializer.getState(stream);
    assertNotNull(state);
    assertEquals("/foo", state.getPath());
    assertEquals("bar", state.getQueryString());
  }
View Full Code Here

    InputStream stream = new ByteArrayInputStream(simplePath.getBytes());

    DataFrame frame = deserializer.deserialize(stream);
    assertEquals(DataFrame.TYPE_HEADERS, frame.getType());

    BasicState state = deserializer.getState(stream);
    assertNotNull(state);
    assertEquals("/foo", state.getPath());
    assertEquals("", state.getQueryString());
  }
View Full Code Here

TOP

Related Classes of org.springframework.integration.x.ip.serializer.AbstractHttpSwitchingDeserializer.BasicState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.