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()
Converts an object representing the HTTP body to a
String
instance. |
String toHttpBody() throws EXC extends Exception
String
instance. Automatically determines the ContentType
from any
headers when applicable.Copyright © 2017. All rights reserved.