Class ExternalScriptContext
- java.lang.Object
-
- io.jans.fido2.service.external.context.ExternalScriptContext
-
- Direct Known Subclasses:
ExternalFido2Context
public class ExternalScriptContext extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected jakarta.servlet.http.HttpServletRequest
httpRequest
protected jakarta.servlet.http.HttpServletResponse
httpResponse
-
Constructor Summary
Constructors Constructor Description ExternalScriptContext(jakarta.servlet.http.HttpServletRequest httpRequest)
ExternalScriptContext(jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.resteasy.spi.NoLogWebApplicationException
createWebApplicationException(int status, String entity)
org.jboss.resteasy.spi.NoLogWebApplicationException
createWebApplicationException(jakarta.ws.rs.core.Response response)
Map<String,Object>
getContextVariables()
jakarta.servlet.http.HttpServletRequest
getHttpRequest()
jakarta.servlet.http.HttpServletResponse
getHttpResponse()
String
getIpAddress()
org.slf4j.Logger
getLog()
org.jboss.resteasy.spi.NoLogWebApplicationException
getWebApplicationException()
void
setWebApplicationException(org.jboss.resteasy.spi.NoLogWebApplicationException webApplicationException)
void
throwWebApplicationExceptionIfSet()
-
-
-
Method Detail
-
getLog
public org.slf4j.Logger getLog()
-
getHttpRequest
public jakarta.servlet.http.HttpServletRequest getHttpRequest()
-
getHttpResponse
public jakarta.servlet.http.HttpServletResponse getHttpResponse()
-
getIpAddress
public String getIpAddress()
-
getWebApplicationException
public org.jboss.resteasy.spi.NoLogWebApplicationException getWebApplicationException()
-
setWebApplicationException
public void setWebApplicationException(org.jboss.resteasy.spi.NoLogWebApplicationException webApplicationException)
-
createWebApplicationException
public org.jboss.resteasy.spi.NoLogWebApplicationException createWebApplicationException(jakarta.ws.rs.core.Response response)
-
createWebApplicationException
public org.jboss.resteasy.spi.NoLogWebApplicationException createWebApplicationException(int status, String entity)
-
throwWebApplicationExceptionIfSet
public void throwWebApplicationExceptionIfSet()
-
-