public interface ResponseContentTypeHandler extends Handler<RoutingContext>
Accept
header match.
The header is set only if:
DEFAULT_DISABLE_FLAG
RoutingContext.getAcceptableContentType()
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DISABLE_FLAG |
Modifier and Type | Method and Description |
---|---|
static ResponseContentTypeHandler |
create()
Create a response content type handler.
|
static ResponseContentTypeHandler |
create(String disableFlag)
Create a response content type handler with a custom disable flag.
|
static final String DEFAULT_DISABLE_FLAG
static ResponseContentTypeHandler create()
static ResponseContentTypeHandler create(String disableFlag)
Copyright © 2021 Eclipse. All rights reserved.