Package org.refcodes.net
Interface HttpInputStreamAccessor.HttpInputStreamProvider<EXC extends java.lang.Exception>
-
- Type Parameters:
EXC
- The exception type which may be thrown upon converting to the desired type.
- Enclosing interface:
- HttpInputStreamAccessor
public static interface HttpInputStreamAccessor.HttpInputStreamProvider<EXC extends java.lang.Exception>
A provider interface provides a "toSomething(?)" method which converts a given instance into something else. TheContentTypeAccessor.ContentTypeProvider
converts an implementing instance's state into aContentType
instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.InputStream
toHttpInputStream()
Returns theInputStream
instance representing the HTTP body from the implementing instance.
-
-
-
Method Detail
-
toHttpInputStream
java.io.InputStream toHttpInputStream() throws EXC extends java.lang.Exception
Returns theInputStream
instance representing the HTTP body from the implementing instance.
-
-