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 MediaTypesstatic MediaTypesReturns 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 TypeMethodDescriptionvoidApiListener.setConsumes(MediaTypes value) The required contentType on requests, if it doesn't match a415status (Unsupported Media Type) is returned.voidApiListener.setProduces(MediaTypes value) The specified contentType on response.