Spring Web Services Framework

org.springframework.ws.transport
Class MockTransportInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.springframework.ws.transport.TransportInputStream
          extended by org.springframework.ws.transport.MockTransportInputStream
All Implemented Interfaces:
Closeable

public class MockTransportInputStream
extends org.springframework.ws.transport.TransportInputStream


Constructor Summary
MockTransportInputStream(InputStream inputStream)
           
MockTransportInputStream(InputStream inputStream, Properties headers)
           
 
Method Summary
protected  InputStream createInputStream()
           
 Iterator getHeaderNames()
           
 Iterator getHeaders(String name)
           
 
Methods inherited from class org.springframework.ws.transport.TransportInputStream
available, close, mark, markSupported, read, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockTransportInputStream

public MockTransportInputStream(InputStream inputStream,
                                Properties headers)

MockTransportInputStream

public MockTransportInputStream(InputStream inputStream)
Method Detail

createInputStream

protected InputStream createInputStream()
                                 throws IOException
Specified by:
createInputStream in class org.springframework.ws.transport.TransportInputStream
Throws:
IOException

getHeaderNames

public Iterator getHeaderNames()
                        throws IOException
Specified by:
getHeaderNames in class org.springframework.ws.transport.TransportInputStream
Throws:
IOException

getHeaders

public Iterator getHeaders(String name)
                    throws IOException
Specified by:
getHeaders in class org.springframework.ws.transport.TransportInputStream
Throws:
IOException

Spring Web Services Framework

Copyright � 2005-2008 The Spring Web Services Framework. All Rights Reserved.