MCPcopy Create free account
hub / github.com/apache/tomcat / populateHost

Method populateHost

java/org/apache/coyote/ajp/AjpProcessor.java:885–893  ·  view source on GitHub ↗

{@inheritDoc} This implementation populates the server name from the local name provided by the AJP message.

()

Source from the content-addressed store, hash-verified

883 * This implementation populates the server name from the local name provided by the AJP message.
884 */
885 @Override
886 protected void populateHost() {
887 try {
888 request.serverName().duplicate(request.localName());
889 } catch (IOException ioe) {
890 response.setStatus(400);
891 setErrorState(ErrorState.CLOSE_CLEAN, ioe);
892 }
893 }
894
895
896 /**

Callers

nothing calls this directly

Calls 5

serverNameMethod · 0.80
localNameMethod · 0.80
setStatusMethod · 0.65
duplicateMethod · 0.45
setErrorStateMethod · 0.45

Tested by

no test coverage detected