public interface ICrossSiteRequestManagerSPI
Modifier and Type | Method and Description |
---|---|
void |
clearCache(ITransaction transaction)
Clears the cache after the commit of the given transaction.
|
void |
clearCORSCache(ITransaction transaction)
Clears the CORS definitions cache after the commit of the given transaction.
|
CorsRule |
findCorsRuleForActualRequest(HttpServletRequest request)
Returns the
CorsRule to be applied for the given actual request. |
CorsRule |
findCorsRuleForPreflightRequest(HttpServletRequest request)
Returns the
CorsRule to be applied for the given preflight request. |
boolean |
isAllowed(HttpServletRequest request)
Returns whether the given request is allowed to be performed.
|
boolean isAllowed(HttpServletRequest request) throws PortalException
request
- the request.PortalException
void clearCache(ITransaction transaction) throws PortalException
transaction
- the transaction.PortalException
void clearCORSCache(ITransaction transaction) throws PortalException
transaction
- the transaction.PortalException
CorsRule findCorsRuleForActualRequest(HttpServletRequest request) throws PortalException
CorsRule
to be applied for the given actual request.request
- the request.null
if no CORS rule matches the given request.PortalException
CorsRule findCorsRuleForPreflightRequest(HttpServletRequest request) throws PortalException
CorsRule
to be applied for the given preflight request.request
- the request.null
if no CORS rule matches the given request.PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.