public class ResponseContentTypeHandler extends Object implements io.vertx.core.Handler<RoutingContext>
Accept
header match.
The header is set only if:
ResponseContentTypeHandler
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<ResponseContentTypeHandler> |
__TYPE_ARG |
static String |
DEFAULT_DISABLE_FLAG |
Constructor and Description |
---|
ResponseContentTypeHandler(io.vertx.ext.web.handler.ResponseContentTypeHandler delegate) |
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.
|
boolean |
equals(Object o) |
io.vertx.ext.web.handler.ResponseContentTypeHandler |
getDelegate() |
void |
handle(RoutingContext event)
Something has happened, so handle it.
|
int |
hashCode() |
static ResponseContentTypeHandler |
newInstance(io.vertx.ext.web.handler.ResponseContentTypeHandler arg) |
String |
toString() |
public static final TypeArg<ResponseContentTypeHandler> __TYPE_ARG
public static final String DEFAULT_DISABLE_FLAG
public ResponseContentTypeHandler(io.vertx.ext.web.handler.ResponseContentTypeHandler delegate)
public io.vertx.ext.web.handler.ResponseContentTypeHandler getDelegate()
public void handle(RoutingContext event)
handle
in interface io.vertx.core.Handler<RoutingContext>
event
- the event to handlepublic static ResponseContentTypeHandler create()
public static ResponseContentTypeHandler create(String disableFlag)
disableFlag
- public static ResponseContentTypeHandler newInstance(io.vertx.ext.web.handler.ResponseContentTypeHandler arg)
Copyright © 2019 Eclipse. All rights reserved.