Uses of Enum Class
dev.galasa.framework.api.common.MimeType
-
Uses of MimeType in dev.galasa.framework.api.common
Modifier 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.Modifier 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.