EXC
- The Exception
to be thrown in case conversion
failed. Throw a RuntimeException
in order to make this
method unchecked.public static interface HttpMediaTypeAccessor.HttpMediaTypeProvider<EXC extends Exception>
HttpMediaTypeAccessor.HttpMediaTypeProvider
converts something like a MediaType
to a Media-Type's
String
representation.Modifier and Type | Method and Description |
---|---|
String |
toHttpMediaType()
A provider interface provides a "toSomething(?)"
|
String toHttpMediaType() throws EXC extends Exception
Copyright © 2018. All rights reserved.