net.javacrumbs.springws.test.util
Class TransportInputStreamWrapper

java.lang.Object
  extended by java.io.InputStream
      extended by org.springframework.ws.transport.TransportInputStream
          extended by net.javacrumbs.springws.test.util.TransportInputStreamWrapper
All Implemented Interfaces:
java.io.Closeable

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

Wraps an input stream and exposes it as TransportInputStream.

Author:
Lukas Krecan

Constructor Summary
TransportInputStreamWrapper(org.springframework.core.io.Resource resultResource)
           
 
Method Summary
protected  java.io.InputStream createInputStream()
           
 java.util.Iterator<?> getHeaderNames()
           
 java.util.Iterator<?> getHeaders(java.lang.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

TransportInputStreamWrapper

public TransportInputStreamWrapper(org.springframework.core.io.Resource resultResource)
Method Detail

createInputStream

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

getHeaderNames

public java.util.Iterator<?> getHeaderNames()
                                     throws java.io.IOException
Specified by:
getHeaderNames in class org.springframework.ws.transport.TransportInputStream
Throws:
java.io.IOException

getHeaders

public java.util.Iterator<?> getHeaders(java.lang.String name)
                                 throws java.io.IOException
Specified by:
getHeaders in class org.springframework.ws.transport.TransportInputStream
Throws:
java.io.IOException


Copyright © 2011. All Rights Reserved.