MCPcopy Index your code
hub / github.com/apache/tomcat / logAccess

Method logAccess

java/org/apache/coyote/AbstractProcessor.java:1118–1129  ·  view source on GitHub ↗
(SocketWrapperBase<?> socketWrapper)

Source from the content-addressed store, hash-verified

1116
1117
1118 @Override
1119 protected final void logAccess(SocketWrapperBase<?> socketWrapper) throws IOException {
1120 // Set the socket wrapper so the access log can read the socket related
1121 // information (e.g. client IP)
1122 setSocketWrapper(socketWrapper);
1123 // Set up the minimal request information
1124 request.markStartTime();
1125 // Set up the minimal response information
1126 response.setStatus(400);
1127 response.setError();
1128 getAdapter().log(request, response, 0);
1129 }
1130}

Callers

nothing calls this directly

Calls 6

setSocketWrapperMethod · 0.95
getAdapterMethod · 0.95
markStartTimeMethod · 0.80
setStatusMethod · 0.65
logMethod · 0.65
setErrorMethod · 0.45

Tested by

no test coverage detected