public class RoutingContextImpl extends Object implements RoutingContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, addCookie, complete, end, end, end, getConnectionId, getContentLength, getCookies, getFields, getHttpVersion, getMethod, getParamOpt, getRouterParamOpt, getSessionNow, getSessionNow, getSessionSizeNow, getURI, nextFuture, put, put, redirect, removeSessionNow, renderTemplate, setHttpVersion, setReason, setStatus, updateSessionNow, write, write, write, writeJsonpublic Object getAttribute(String key)
getAttribute 在接口中 RoutingContextpublic Object setAttribute(String key, Object value)
setAttribute 在接口中 RoutingContextpublic Object removeAttribute(String key)
removeAttribute 在接口中 RoutingContextpublic ConcurrentHashMap<String,Object> getAttributes()
getAttributes 在接口中 RoutingContextpublic SimpleResponse getResponse()
getResponse 在接口中 RoutingContextpublic SimpleResponse getAsyncResponse()
getAsyncResponse 在接口中 RoutingContextpublic SimpleRequest getRequest()
getRequest 在接口中 RoutingContextpublic String getRouterParameter(String name)
getRouterParameter 在接口中 RoutingContextpublic RoutingContext content(Action1<ByteBuffer> content)
content 在接口中 RoutingContextpublic RoutingContext contentComplete(Action1<SimpleRequest> contentComplete)
contentComplete 在接口中 RoutingContextpublic RoutingContext messageComplete(Action1<SimpleRequest> messageComplete)
messageComplete 在接口中 RoutingContextpublic boolean isAsynchronousRead()
isAsynchronousRead 在接口中 RoutingContextpublic boolean next()
next 在接口中 RoutingContextpublic boolean hasNext()
hasNext 在接口中 RoutingContextpublic <T> RoutingContext complete(Promise<T> promise)
complete 在接口中 RoutingContextpublic <T> boolean next(Promise<T> promise)
next 在接口中 RoutingContextpublic <T> void succeed(T t)
succeed 在接口中 RoutingContextpublic void fail(Throwable x)
fail 在接口中 RoutingContextpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionpublic String getParameter(String name)
getParameter 在接口中 RoutingContextpublic List<String> getParameterValues(String name)
getParameterValues 在接口中 RoutingContextpublic Map<String,List<String>> getParameterMap()
getParameterMap 在接口中 RoutingContextpublic Collection<javax.servlet.http.Part> getParts()
getParts 在接口中 RoutingContextpublic javax.servlet.http.Part getPart(String name)
getPart 在接口中 RoutingContextpublic InputStream getInputStream()
getInputStream 在接口中 RoutingContextpublic BufferedReader getBufferedReader()
getBufferedReader 在接口中 RoutingContextpublic String getStringBody(String charset)
getStringBody 在接口中 RoutingContextpublic String getStringBody()
getStringBody 在接口中 RoutingContextpublic <T> T getJsonBody(Class<T> clazz)
getJsonBody 在接口中 RoutingContextpublic <T> T getJsonBody(GenericTypeReference<T> typeReference)
getJsonBody 在接口中 RoutingContextpublic JsonObject getJsonObjectBody()
getJsonObjectBody 在接口中 RoutingContextpublic JsonArray getJsonArrayBody()
getJsonArrayBody 在接口中 RoutingContextpublic void setHTTPBodyHandlerSPI(HTTPBodyHandlerSPI httpBodyHandlerSPI)
public CompletableFuture<HTTPSession> getSession()
getSession 在接口中 RoutingContextpublic CompletableFuture<HTTPSession> getSession(boolean create)
getSession 在接口中 RoutingContextpublic CompletableFuture<Integer> getSessionSize()
getSessionSize 在接口中 RoutingContextpublic CompletableFuture<Boolean> removeSession()
removeSession 在接口中 RoutingContextpublic CompletableFuture<Boolean> updateSession(HTTPSession httpSession)
updateSession 在接口中 RoutingContextpublic boolean isRequestedSessionIdFromURL()
isRequestedSessionIdFromURL 在接口中 RoutingContextpublic boolean isRequestedSessionIdFromCookie()
isRequestedSessionIdFromCookie 在接口中 RoutingContextpublic String getRequestedSessionId()
getRequestedSessionId 在接口中 RoutingContextpublic String getSessionIdParameterName()
getSessionIdParameterName 在接口中 RoutingContextpublic void setHTTPSessionHandlerSPI(HTTPSessionHandlerSPI httpSessionHandlerSPI)
public void renderTemplate(String resourceName, Object scope)
renderTemplate 在接口中 RoutingContextpublic void renderTemplate(String resourceName, Object[] scopes)
renderTemplate 在接口中 RoutingContextpublic void renderTemplate(String resourceName, List<Object> scopes)
renderTemplate 在接口中 RoutingContextCopyright © 2017. All rights reserved.