public class ResponseContentTypeHandler extends Object implements PlatformHandler, 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 io.vertx.lang.rx.TypeArg<ResponseContentTypeHandler> |
__TYPE_ARG |
static String |
DEFAULT_DISABLE_FLAG |
Constructor and Description |
---|
ResponseContentTypeHandler(Object delegate) |
ResponseContentTypeHandler(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) |
ResponseContentTypeHandler |
getDelegate() |
void |
handle(RoutingContext event)
Something has happened, so handle it.
|
int |
hashCode() |
static ResponseContentTypeHandler |
newInstance(ResponseContentTypeHandler arg) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
newInstance
public static final io.vertx.lang.rx.TypeArg<ResponseContentTypeHandler> __TYPE_ARG
public static final String DEFAULT_DISABLE_FLAG
public ResponseContentTypeHandler(ResponseContentTypeHandler delegate)
public ResponseContentTypeHandler(Object delegate)
public ResponseContentTypeHandler getDelegate()
getDelegate
in interface PlatformHandler
public void handle(RoutingContext event)
handle
in interface Handler<RoutingContext>
handle
in interface PlatformHandler
event
- the event to handlepublic static ResponseContentTypeHandler create()
public static ResponseContentTypeHandler create(String disableFlag)
disableFlag
- public static ResponseContentTypeHandler newInstance(ResponseContentTypeHandler arg)
Copyright © 2023 Eclipse. All rights reserved.