EXC
- The exception type which may be thrown upon converting to
the desired type.public static interface HttpInputStreamAccessor.HttpInputStreamProvider<EXC extends Exception>
ContentTypeAccessor.ContentTypeProvider
converts an implementing instance's state
into a ContentType
instance.Modifier and Type | Method and Description |
---|---|
InputStream |
toHttpInputStream()
Returns the
InputStream instance representing the HTTP body
from the implementing instance. |
InputStream toHttpInputStream() throws EXC extends Exception
InputStream
instance representing the HTTP body
from the implementing instance.InputStream
instance represented by the
implementing instance.EXC
- Thrown in case providing the type as InputStream
failed.EXC extends Exception
Copyright © 2017. All rights reserved.