public class ResponseContentTypeHandler extends Object implements Handler<RoutingContext>
Accept header match.
The header is set only if:
ResponseContentTypeHandleroriginal non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static TypeArg<ResponseContentTypeHandler> |
__TYPE_ARG |
| Constructor and Description |
|---|
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.
|
ResponseContentTypeHandler |
getDelegate() |
void |
handle(RoutingContext arg0)
Something has happened, so handle it.
|
static ResponseContentTypeHandler |
newInstance(ResponseContentTypeHandler arg) |
public static final TypeArg<ResponseContentTypeHandler> __TYPE_ARG
public ResponseContentTypeHandler(ResponseContentTypeHandler delegate)
public ResponseContentTypeHandler getDelegate()
public void handle(RoutingContext arg0)
Handlerhandle in interface Handler<RoutingContext>arg0 - the event to handlepublic static ResponseContentTypeHandler create()
public static ResponseContentTypeHandler create(String disableFlag)
disableFlag - public static ResponseContentTypeHandler newInstance(ResponseContentTypeHandler arg)
Copyright © 2017. All rights reserved.