net.javacrumbs.springws.test.util
Class TransportInputStreamWrapper
java.lang.Object
java.io.InputStream
org.springframework.ws.transport.TransportInputStream
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
| 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 |
TransportInputStreamWrapper
public TransportInputStreamWrapper(org.springframework.core.io.Resource resultResource)
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.