EXC
- The exception type which may be thrown upon converting to
the desired type.HttpClientRequest
, HttpServerResponse
HttpClientRequestImpl
, HttpServerResponseImpl
public static interface HttpBodyAccessor.HttpBodyProvider<EXC extends Exception>
ContentTypeAccessor.ContentTypeProvider
converts an implementing instance's state
into a ContentType
instance.Modifier and Type | Method | 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 © 2018. All rights reserved.