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

Method addIntHeader

java/org/apache/catalina/connector/Response.java:1035–1053  ·  view source on GitHub ↗
(String name, int value)

Source from the content-addressed store, hash-verified

1033
1034
1035 @Override
1036 public void addIntHeader(String name, int value) {
1037
1038 if (name == null || name.isEmpty()) {
1039 return;
1040 }
1041
1042 if (isCommitted()) {
1043 return;
1044 }
1045
1046 // Ignore any call from an included servlet
1047 if (included) {
1048 return;
1049 }
1050
1051 addHeader(name, "" + value);
1052
1053 }
1054
1055
1056 @Override

Callers

nothing calls this directly

Calls 3

isCommittedMethod · 0.95
addHeaderMethod · 0.95
isEmptyMethod · 0.45

Tested by

no test coverage detected