public abstract class RoutingContextImplBase extends Object implements RoutingContextInternal
| Modifier and Type | Field and Description |
|---|---|
protected io.vertx.ext.web.impl.RouteState |
currentRoute |
protected Iterator<RouteImpl> |
iter |
protected static Logger |
LOG |
protected String |
mountPoint |
BODY_HANDLER, CORS_HANDLER| Modifier and Type | Method and Description |
|---|---|
Route |
currentRoute() |
String |
mountPoint() |
boolean |
seenHandler(int id)
returns true if the current context has been visited by the handler with
id. |
RoutingContextInternal |
setMatchFailure(int matchFailure)
propagates a matching failure across routers.
|
protected void |
unhandledFailure(int statusCode,
Throwable failure,
RouterImpl router) |
RoutingContextInternal |
visitHandler(int id)
flags the current routing context as having visited the handler with
id. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptableLanguages, addBodyEndHandler, addCookie, addEndHandler, addEndHandler, addHeadersEndHandler, attachment, clearUser, cookieCount, cookieMap, data, end, end, end, end, end, end, etag, fail, fail, fail, failed, failure, fileUploads, get, getAcceptableContentType, getBody, getBodyAsJson, getBodyAsJson, getBodyAsJsonArray, getBodyAsJsonArray, getBodyAsString, getBodyAsString, getCookie, is, isFresh, isSessionAccessed, json, json, lastModified, lastModified, next, normalisedPath, normalizedPath, parsedHeaders, pathParam, pathParams, preferredLanguage, put, queryParam, queryParams, queryParams, redirect, redirect, remove, removeBodyEndHandler, removeCookie, removeCookie, removeEndHandler, removeHeadersEndHandler, request, reroute, reroute, response, session, setAcceptableContentType, setBody, setSession, setUser, statusCode, user, vertxprotected static final Logger LOG
protected final String mountPoint
protected io.vertx.ext.web.impl.RouteState currentRoute
public RoutingContextInternal visitHandler(int id)
RoutingContextInternalid.visitHandler in interface RoutingContextInternalid - one of the constants of this interfacepublic boolean seenHandler(int id)
RoutingContextInternalid.seenHandler in interface RoutingContextInternalid - one of the constants of this interfaceRoutingContextInternal.visitHandler(int) has been called with the same id.public RoutingContextInternal setMatchFailure(int matchFailure)
RoutingContextInternalsetMatchFailure in interface RoutingContextInternalmatchFailure - the desired match failurepublic String mountPoint()
mountPoint in interface RoutingContextpublic Route currentRoute()
currentRoute in interface RoutingContextprotected void unhandledFailure(int statusCode,
Throwable failure,
RouterImpl router)
Copyright © 2021. All rights reserved.