Uses of Enum Class
org.frankframework.http.rest.MediaTypes
Packages that use MediaTypes
-
Uses of MediaTypes in org.frankframework.http.rest
Methods in org.frankframework.http.rest that return MediaTypesModifier and TypeMethodDescriptionstatic MediaTypes
ApiListener.getConsumes()
ApiListener.getProduces()
static MediaTypes
Returns the enum constant of this class with the specified name.static MediaTypes[]
MediaTypes.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.frankframework.http.rest with parameters of type MediaTypesModifier and TypeMethodDescriptionvoid
ApiListener.setConsumes
(MediaTypes value) The required contentType on requests, if it doesn't match a415
status (Unsupported Media Type) is returned.void
ApiListener.setProduces
(MediaTypes value) The specified contentType on response.