| Modifier and Type | Method and Description |
|---|---|
protected ContentTypeDefaults |
SpincastFrontController.getResponseContentTypeToUse(Object exchange) |
| Modifier and Type | Method and Description |
|---|---|
ContentTypeDefaults |
RequestRequestContextAddon.getContentTypeBestMatch()
Finds the best
Content-Type to use for a response
using the "Accept" header of the request. |
| Modifier and Type | Method and Description |
|---|---|
RouteBuilder<R> |
RouteBuilder.accept(ContentTypeDefaults... acceptedContentTypes)
Sets the accepted
Content-Types. |
| Modifier and Type | Method and Description |
|---|---|
RouteBuilder<R> |
RouteBuilder.accept(Set<ContentTypeDefaults> acceptedContentTypes)
Sets the accepted
Content-Types. |
| Modifier and Type | Method and Description |
|---|---|
ContentTypeDefaults |
Server.getContentTypeBestMatch(Object exchange)
Gets the best
Content-Type to use for the current request. |
| Modifier and Type | Method and Description |
|---|---|
static ContentTypeDefaults |
ContentTypeDefaults.fromString(String contentTypeString) |
static ContentTypeDefaults |
ContentTypeDefaults.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentTypeDefaults[] |
ContentTypeDefaults.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ContentTypeDefaults |
SpincastRequestRequestContextAddon.getContentTypeBestMatch() |
| Modifier and Type | Method and Description |
|---|---|
RouteBuilder<R> |
RouteBuilderDefault.accept(ContentTypeDefaults... acceptedContentTypes) |
| Modifier and Type | Method and Description |
|---|---|
RouteBuilder<R> |
RouteBuilderDefault.accept(Set<ContentTypeDefaults> acceptedContentTypes) |
| Modifier and Type | Method and Description |
|---|---|
ContentTypeDefaults |
SpincastUndertowServer.getContentTypeBestMatch(Object exchangeObj) |
Copyright © 2019. All rights reserved.