Uses of Enum Class
org.spincast.core.utils.ContentTypeDefaults
Package
Description
-
Uses of ContentTypeDefaults in org.spincast.core.controllers
Modifier and TypeMethodDescriptionprotected ContentTypeDefaults
SpincastFrontController.getResponseContentTypeToUse
(Object exchange) -
Uses of ContentTypeDefaults in org.spincast.core.exchange
Modifier and TypeMethodDescriptionRequestRequestContextAddon.getContentTypeBestMatch()
Finds the bestContent-Type
to use for a response using the"Accept"
header of the request. -
Uses of ContentTypeDefaults in org.spincast.core.routing
Modifier and TypeMethodDescriptionRouteBuilder.accept
(ContentTypeDefaults... acceptedContentTypes) Sets the acceptedContent-Types
.Modifier and TypeMethodDescriptionRouteBuilder.accept
(Set<ContentTypeDefaults> acceptedContentTypes) Sets the acceptedContent-Types
. -
Uses of ContentTypeDefaults in org.spincast.core.server
Modifier and TypeMethodDescriptionServer.getContentTypeBestMatch
(Object exchange) Gets the bestContent-Type
to use for the current request. -
Uses of ContentTypeDefaults in org.spincast.core.utils
Modifier and TypeMethodDescriptionstatic ContentTypeDefaults
ContentTypeDefaults.fromString
(String contentTypeString) static ContentTypeDefaults
Returns the enum constant of this class with the specified name.static ContentTypeDefaults[]
ContentTypeDefaults.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ContentTypeDefaults in org.spincast.plugins.request
-
Uses of ContentTypeDefaults in org.spincast.plugins.routing
Modifier and TypeMethodDescriptionRouteBuilderDefault.accept
(ContentTypeDefaults... acceptedContentTypes) Modifier and TypeMethodDescriptionRouteBuilderDefault.accept
(Set<ContentTypeDefaults> acceptedContentTypes) -
Uses of ContentTypeDefaults in org.spincast.plugins.undertow
Modifier and TypeMethodDescriptionSpincastUndertowServer.getContentTypeBestMatch
(Object exchangeObj)