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

Method getSupportsRelativeRedirects

java/org/apache/coyote/Request.java:970–972  ·  view source on GitHub ↗

Check if relative redirects are supported. @return true if relative redirects are supported

()

Source from the content-addressed store, hash-verified

968 * @return {@code true} if relative redirects are supported
969 */
970 public boolean getSupportsRelativeRedirects() {
971 return !protocol().equals("") && !protocol().equals("HTTP/1.0");
972 }
973
974
975 // -------------------- Input Buffer --------------------

Callers 1

sendRedirectMethod · 0.80

Calls 2

protocolMethod · 0.95
equalsMethod · 0.65

Tested by

no test coverage detected