handleInvalidCORS(HttpServletRequest, HttpServletResponse, FilterChain) | | 57% | | 50% | 1 | 2 | 1 | 9 | 0 | 1 |
readObject(ObjectInputStream) | | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
handlePreflightCORS(HttpServletRequest, HttpServletResponse, FilterChain) | | 95% | | 90% | 2 | 11 | 2 | 30 | 0 | 1 |
handleNonCORS(HttpServletRequest, HttpServletResponse, FilterChain) | | 72% | | 50% | 1 | 2 | 1 | 4 | 0 | 1 |
parseAndStore(String, String, String, String, String, String, String) | | 100% | | 100% | 0 | 6 | 0 | 31 | 0 | 1 |
checkRequestType(HttpServletRequest) | | 100% | | 96% | 1 | 17 | 0 | 35 | 0 | 1 |
addStandardHeaders(HttpServletRequest, HttpServletResponse) | | 100% | | 77% | 5 | 12 | 0 | 27 | 0 | 1 |
decorateCORSProperties(HttpServletRequest, CorsFilter.CORSRequestType) | | 100% | | 100% | 0 | 7 | 0 | 22 | 0 | 1 |
handleSimpleCORS(HttpServletRequest, HttpServletResponse, FilterChain) | | 100% | | 100% | 0 | 5 | 0 | 14 | 0 | 1 |
doFilter(ServletRequest, ServletResponse, FilterChain) | | 100% | | 100% | 0 | 7 | 0 | 16 | 0 | 1 |
join(Collection, String) | | 100% | | 100% | 0 | 6 | 0 | 15 | 0 | 1 |
parseStringToSet(String) | | 100% | | 87% | 1 | 5 | 0 | 8 | 0 | 1 |
init() | | 100% | | n/a | 0 | 1 | 0 | 8 | 0 | 1 |
CorsFilter() | | 100% | | n/a | 0 | 1 | 0 | 6 | 0 | 1 |
getMediaType(String) | | 100% | | 100% | 0 | 3 | 0 | 8 | 0 | 1 |
static {...} | | 100% | | n/a | 0 | 1 | 0 | 3 | 0 | 1 |
getInitParameter(String, String) | | 100% | | 100% | 0 | 2 | 0 | 4 | 0 | 1 |
isOriginAllowed(String) | | 100% | | 100% | 0 | 2 | 0 | 3 | 0 | 1 |
isAnyOriginAllowed() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
getExposedHeaders() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
isSupportsCredentials() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
getPreflightMaxAge() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
getAllowedOrigins() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
getAllowedHttpMethods() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
getAllowedHttpHeaders() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
isDecorateRequest() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |