RoutingContextImpl

Constructors

this
this(HttpServerContext context, NavigableSet!(RouterMatchResult) routers)
Undocumented in source.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
enableAsynchronousRead
void enableAsynchronousRead()
Undocumented in source. Be warned that the author may not have intended to support it.
end
RoutingContext end()
Undocumented in source. Be warned that the author may not have intended to support it.
flush
void flush()
Undocumented in source. Be warned that the author may not have intended to support it.
getAndCreateSession
HttpSession getAndCreateSession(int maxAge)
Undocumented in source. Be warned that the author may not have intended to support it.
getAttribute
Variant getAttribute(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
getAttributes
Variant[string] getAttributes()
Undocumented in source. Be warned that the author may not have intended to support it.
getConnectionId
int getConnectionId()
Undocumented in source. Be warned that the author may not have intended to support it.
getParameter
string getParameter(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getParameterMap
Map!(string, List!string) getParameterMap()
Undocumented in source. Be warned that the author may not have intended to support it.
getParameterValues
List!string getParameterValues(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getRequest
HttpServerRequest getRequest()
Undocumented in source. Be warned that the author may not have intended to support it.
getRequestedSessionId
string getRequestedSessionId()
Undocumented in source. Be warned that the author may not have intended to support it.
getResponse
HttpServerResponse getResponse()
Undocumented in source. Be warned that the author may not have intended to support it.
getRouterParameter
string getRouterParameter(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getSession
HttpSession getSession()
Undocumented in source. Be warned that the author may not have intended to support it.
getSession
HttpSession getSession(bool create)
Undocumented in source. Be warned that the author may not have intended to support it.
getSessionById
HttpSession getSessionById(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
getSessionIdParameterName
string getSessionIdParameterName()
Undocumented in source. Be warned that the author may not have intended to support it.
getSessionSize
int getSessionSize()
Undocumented in source. Be warned that the author may not have intended to support it.
getStringBody
string getStringBody(string charset)
Undocumented in source. Be warned that the author may not have intended to support it.
getStringBody
string getStringBody()
Undocumented in source. Be warned that the author may not have intended to support it.
groupName
string groupName()
Undocumented in source. Be warned that the author may not have intended to support it.
groupName
void groupName(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
hasNext
bool hasNext()
Undocumented in source. Be warned that the author may not have intended to support it.
httpConnection
HttpConnection httpConnection()
Undocumented in source. Be warned that the author may not have intended to support it.
isAsynchronousRead
bool isAsynchronousRead()
Undocumented in source. Be warned that the author may not have intended to support it.
isCommitted
bool isCommitted()
Undocumented in source. Be warned that the author may not have intended to support it.
isRequestedSessionIdFromCookie
bool isRequestedSessionIdFromCookie()
Undocumented in source. Be warned that the author may not have intended to support it.
isRequestedSessionIdFromURL
bool isRequestedSessionIdFromURL()
Undocumented in source. Be warned that the author may not have intended to support it.
next
void next()
Undocumented in source. Be warned that the author may not have intended to support it.
outputStream
OutputStream outputStream()
Undocumented in source. Be warned that the author may not have intended to support it.
removeAttribute
Variant removeAttribute(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
removeSession
bool removeSession()
Undocumented in source. Be warned that the author may not have intended to support it.
removeSessionById
bool removeSessionById(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
response
void response(HttpServerResponse response)
Undocumented in source. Be warned that the author may not have intended to support it.
setAttribute
void setAttribute(string key, Variant value)
Undocumented in source. Be warned that the author may not have intended to support it.
setHttpSessionHandler
void setHttpSessionHandler(HttpSessionHandler httpSessionHandler)
Undocumented in source. Be warned that the author may not have intended to support it.
updateSession
bool updateSession(HttpSession httpSession)
Undocumented in source. Be warned that the author may not have intended to support it.
write
RoutingContext write(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
write
RoutingContext write(byte[] b, int off, int len)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From RoutingContext

getAttributeAs
T getAttributeAs(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
setAttribute
void setAttribute(string key, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
getAttribute
Variant getAttribute(string key)
Undocumented in source.
setAttribute
void setAttribute(string key, Variant value)
Undocumented in source.
removeAttribute
Variant removeAttribute(string key)
Undocumented in source.
getAttributes
Variant[string] getAttributes()
Undocumented in source.
getResponse
HttpServerResponse getResponse()
Undocumented in source.
response
void response(HttpServerResponse response)
Undocumented in source.
getRequest
HttpServerRequest getRequest()
Undocumented in source.
outputStream
OutputStream outputStream()
Undocumented in source.
getConnectionId
int getConnectionId()
Undocumented in source.
httpConnection
HttpConnection httpConnection()
Undocumented in source.
getRouterParameter
string getRouterParameter(string name)
Undocumented in source.
getWildcardMatchedResult
string getWildcardMatchedResult(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getRegexGroup
string getRegexGroup(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getPathParameter
string getPathParameter(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
isAsynchronousRead
bool isAsynchronousRead()

If return true, it represents you has set a HTTP body data receiving callback.

enableAsynchronousRead
void enableAsynchronousRead()
Undocumented in source.
next
void next()

Execute the next handler.

hasNext
bool hasNext()

If return false, it represents current handler is the last.

succeed
void succeed(bool t)
Undocumented in source. Be warned that the author may not have intended to support it.
fail
void fail(Exception ex)
Undocumented in source. Be warned that the author may not have intended to support it.
getMethod
string getMethod()
Undocumented in source. Be warned that the author may not have intended to support it.
getURI
HttpURI getURI()
Undocumented in source. Be warned that the author may not have intended to support it.
getHttpVersion
HttpVersion getHttpVersion()
Undocumented in source. Be warned that the author may not have intended to support it.
getFields
HttpFields getFields()
Undocumented in source. Be warned that the author may not have intended to support it.
getContentLength
long getContentLength()
Undocumented in source. Be warned that the author may not have intended to support it.
getCookies
Cookie[] getCookies()
Undocumented in source. Be warned that the author may not have intended to support it.
getParameter
string getParameter(string name)
Undocumented in source.
getParameterValues
List!string getParameterValues(string name)
Undocumented in source.
getParameterMap
Map!(string, List!string) getParameterMap()
Undocumented in source.
getStringBody
string getStringBody(string charset)
Undocumented in source.
getStringBody
string getStringBody()
Undocumented in source.
setStatus
RoutingContext setStatus(int status)
Undocumented in source. Be warned that the author may not have intended to support it.
setReason
RoutingContext setReason(string reason)
Undocumented in source. Be warned that the author may not have intended to support it.
setHttpVersion
RoutingContext setHttpVersion(HttpVersion httpVersion)
Undocumented in source. Be warned that the author may not have intended to support it.
getResponseHeaders
HttpFields getResponseHeaders()
Undocumented in source. Be warned that the author may not have intended to support it.
responseHeader
void responseHeader(HttpHeader header, HttpHeaderValue value)
Undocumented in source. Be warned that the author may not have intended to support it.
responseHeader
void responseHeader(string header, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
responseHeader
void responseHeader(HttpHeader header, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
addCookie
RoutingContext addCookie(Cookie cookie)
Undocumented in source. Be warned that the author may not have intended to support it.
write
RoutingContext write(string value)
Undocumented in source.
write
RoutingContext write(byte[] b, int off, int len)
Undocumented in source.
write
RoutingContext write(byte[] b)
Undocumented in source. Be warned that the author may not have intended to support it.
end
RoutingContext end(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
end
RoutingContext end()
Undocumented in source.
end
RoutingContext end(byte[] b)
Undocumented in source. Be warned that the author may not have intended to support it.
flush
void flush()
Undocumented in source.
isCommitted
bool isCommitted()
Undocumented in source.
redirect
void redirect(string url)
Undocumented in source. Be warned that the author may not have intended to support it.
getSessionById
HttpSession getSessionById(string id)
Undocumented in source.
getSession
HttpSession getSession()
Undocumented in source.
getSession
HttpSession getSession(bool create)
Undocumented in source.
getAndCreateSession
HttpSession getAndCreateSession(int maxAge)
Undocumented in source.
getSessionSize
int getSessionSize()
Undocumented in source.
removeSessionById
bool removeSessionById(string id)
Undocumented in source.
removeSession
bool removeSession()
Undocumented in source.
updateSession
bool updateSession(HttpSession httpSession)
Undocumented in source.
isRequestedSessionIdFromURL
bool isRequestedSessionIdFromURL()
Undocumented in source.
isRequestedSessionIdFromCookie
bool isRequestedSessionIdFromCookie()
Undocumented in source.
getRequestedSessionId
string getRequestedSessionId()
Undocumented in source.
getSessionIdParameterName
string getSessionIdParameterName()
Undocumented in source.
groupName
string groupName()
Undocumented in source.
groupName
void groupName(string name)
Undocumented in source.

Meta