Uses of Enum Class
dev.galasa.framework.api.common.MimeType
Packages that use MimeType
-
Uses of MimeType in dev.galasa.framework.api.common
Methods in dev.galasa.framework.api.common that return MimeTypeModifier and TypeMethodDescriptionstatic MimeType
Returns the enum constant of this class with the specified name.static MimeType[]
MimeType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in dev.galasa.framework.api.common with parameters of type MimeTypeModifier and TypeMethodDescriptionprotected String
BaseRoute.getResponseType
(String requestedAcceptTypes, MimeType defaultType, List<MimeType> supportedTypes) protected void
BaseRoute.validateAcceptHeader
(javax.servlet.http.HttpServletRequest request, MimeType... supportedTypes) Checks if a given HTTP request contains an "Accept" header and if the values of that header are part of the default or the supplied list.Method parameters in dev.galasa.framework.api.common with type arguments of type MimeType