public class AuthContext extends Object implements org.pac4j.core.context.WebContext
| Constructor and Description |
|---|
AuthContext(Request req,
Response rsp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFullRequestURL() |
String |
getRequestHeader(String name) |
String |
getRequestMethod() |
String |
getRequestParameter(String name) |
Map<String,String[]> |
getRequestParameters() |
String |
getScheme() |
String |
getServerName() |
int |
getServerPort() |
Object |
getSessionAttribute(String name) |
void |
setResponseHeader(String name,
String value) |
void |
setResponseStatus(int code) |
void |
setSessionAttribute(String name,
Object value) |
String |
toString() |
void |
writeResponseContent(String content) |
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 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 String getRequestMethod()
getRequestMethod 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 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 String getFullRequestURL()
getFullRequestURL in interface org.pac4j.core.context.WebContextCopyright © 2015. All rights reserved.