Package org.springframework.ws.transport
Class TransportInputStream
java.lang.Object
java.io.InputStream
org.springframework.ws.transport.TransportInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
A
TransportInputStream is an input stream with MIME input headers. It is used
to construct WebServiceMessages from a
transport.- Since:
- 1.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidclose()protected abstract InputStreamReturns the input stream to read from.Returns an iteration over all the header names this stream contains.getHeaders(String name) Returns an iteration over all the string values of the specified header.voidmark(int readlimit) booleanintread()intread(byte[] b) intread(byte[] b, int off, int len) voidreset()longskip(long n) Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
TransportInputStream
protected TransportInputStream()
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
mark
public void mark(int readlimit) - Overrides:
markin classInputStream
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classInputStream
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
reset
- Overrides:
resetin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
createInputStream
Returns the input stream to read from.- Throws:
IOException
-
getHeaderNames
Returns an iteration over all the header names this stream contains. Returns an emptyIteratorif there are no headers.- Throws:
IOException
-
getHeaders
Returns an iteration over all the string values of the specified header. Returns an emptyIteratorif there are no headers of the specified name.- Throws:
IOException
-