ProxyResource

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total666 of 6660%44 of 440%51511341342929
rewriteResponse(byte[], Function)1370%160%99333311
performRequest(HttpServletRequest, AsyncResponse, Request.Builder, Function)1050%120%77202011
setupBearerToken(HttpServletRequest, Request.Builder)440%60%449911
ProxyResource(HttpClient, JsonWebTokenHandler, ProxyConfig)400%n/a118811
setupXForwardedFor(HttpServletRequest, Request.Builder)330%20%226611
rewriteUri(UriInfo, String)290%n/a116611
getNext(String, String, HttpServletRequest, UriInfo, AsyncResponse)270%20%225511
cancelQuery(String, String, HttpServletRequest, AsyncResponse)250%20%225511
postStatement(String, HttpServletRequest, UriInfo, AsyncResponse)220%n/a115511
handleProxyException(Request, ProxyException)210%n/a112211
loadSharedSecret(File)200%n/a113311
getInfo(HttpServletRequest, AsyncResponse)160%n/a114411
lambda$responseWithHeaders$7(Response.ResponseBuilder, HeaderName, String)160%40%334411
lambda$setupAsyncResponse$6()160%n/a115511
buildResponse(UriInfo, ProxyResponseHandler.ProxyResponse)120%n/a112211
setupAsyncResponse(AsyncResponse, ListenableFuture)120%n/a113311
invalidJson(String)120%n/a111111
badRequest(Response.Status, String)110%n/a115511
static {...}100%n/a112211
executeHttp(Request)90%n/a111111
responseWithHeaders(Response.ResponseBuilder, ProxyResponseHandler.ProxyResponse)80%n/a112211
isPrestoHeader(String)60%n/a111111
lambda$getInfo$0(ProxyResponseHandler.ProxyResponse)60%n/a111111
shutdown()50%n/a112211
lambda$buildResponse$5(UriInfo, String)50%n/a111111
lambda$performRequest$4(Request, ProxyException)50%n/a111111
lambda$getNext$2(UriInfo, ProxyResponseHandler.ProxyResponse)50%n/a111111
lambda$postStatement$1(UriInfo, ProxyResponseHandler.ProxyResponse)50%n/a111111
lambda$cancelQuery$3(ProxyResponseHandler.ProxyResponse)40%n/a111111