EXC
- The exception type which may be thrown upon converting to
the desired type.public static interface HttpBodyAccessor.HttpBodyProvider<EXC extends Exception>
ContentTypeProvider
converts an implementing instance's state
into a ContentType
instance.Modifier and Type | Method and Description |
---|---|
String |
toHttpBody()
Returns the
String instance representing the HTTP body from
the implementing instance. |
String toHttpBody() throws EXC extends Exception
String
instance representing the HTTP body from
the implementing instance.
Automatically sets the ContentType
to any headers if
accessible and applicable.Copyright © 2016. All rights reserved.