public class VertxWebContext extends Object implements org.pac4j.core.context.WebContext
| Constructor and Description |
|---|
VertxWebContext(io.vertx.ext.web.RoutingContext routingContext) |
public VertxWebContext(io.vertx.ext.web.RoutingContext routingContext)
public void failResponse(int status)
public void completeResponse()
public String getRequestParameter(String name)
getRequestParameter in interface org.pac4j.core.context.WebContextpublic Map<String,String[]> getRequestParameters()
getRequestParameters in interface org.pac4j.core.context.WebContextpublic Object getRequestAttribute(String s)
getRequestAttribute in interface org.pac4j.core.context.WebContextpublic void setRequestAttribute(String s, Object o)
setRequestAttribute in interface org.pac4j.core.context.WebContextpublic String getRequestHeader(String name)
getRequestHeader in interface org.pac4j.core.context.WebContextpublic void setSessionAttribute(String name, Object value)
setSessionAttribute in interface org.pac4j.core.context.WebContextpublic Object getSessionAttribute(String name)
getSessionAttribute in interface org.pac4j.core.context.WebContextpublic Object getSessionIdentifier()
getSessionIdentifier in interface org.pac4j.core.context.WebContextpublic String getRequestMethod()
getRequestMethod in interface org.pac4j.core.context.WebContextpublic String getRemoteAddr()
getRemoteAddr in interface org.pac4j.core.context.WebContextpublic void writeResponseContent(String content)
writeResponseContent in interface org.pac4j.core.context.WebContextpublic void setResponseStatus(int code)
setResponseStatus in interface org.pac4j.core.context.WebContextpublic void setResponseHeader(String name, String value)
setResponseHeader in interface org.pac4j.core.context.WebContextpublic void setResponseContentType(String s)
setResponseContentType in interface org.pac4j.core.context.WebContextpublic String getServerName()
getServerName in interface org.pac4j.core.context.WebContextpublic int getServerPort()
getServerPort in interface org.pac4j.core.context.WebContextpublic String getScheme()
getScheme in interface org.pac4j.core.context.WebContextpublic boolean isSecure()
isSecure in interface org.pac4j.core.context.WebContextpublic String getFullRequestURL()
getFullRequestURL in interface org.pac4j.core.context.WebContextpublic Collection<org.pac4j.core.context.Cookie> getRequestCookies()
getRequestCookies in interface org.pac4j.core.context.WebContextpublic void addResponseCookie(org.pac4j.core.context.Cookie cookie)
addResponseCookie in interface org.pac4j.core.context.WebContextpublic String getPath()
getPath in interface org.pac4j.core.context.WebContextpublic Pac4jUser getVertxUser()
public void removeVertxUser()
public void setVertxUser(Pac4jUser pac4jUser)
Copyright © 2016. All Rights Reserved.