Top For Removal Deprecated
Core :: HTTP 12.0.6

Deprecated API


Terminally Deprecated Item Summary

SinceTerminally Deprecated Item and Description
12.0.6
org.eclipse.jetty.http.ComplianceViolation.Listener.onComplianceViolation(ComplianceViolation.Mode
the mode
mode
,
ComplianceViolation
the violation
violation
,
String
the details
details
)

use onComplianceViolation(Event) instead. Will be removed in Jetty 12.1.0

12.0.6
org.eclipse.jetty.http.HttpCompliance.VIOLATIONS_ATTR

use ComplianceViolation.CapturingListener#VIOLATIONS_ATTR_KEY instead.
(Note: new ATTR captures all Compliance violations, not just HTTP.
Make sure you have HttpConnectionFactory.setRecordHttpComplianceViolations(true).
Also make sure that a ComplianceViolation.CapturingListener has been added as a bean to either the Connector or Server for the Attribute to be created.)

12.0.6

Deprecated Item Summary

SinceDeprecated Item and Description
org.eclipse.jetty.http.CookieCompliance.Violation.RESERVED_NAMES_NOT_DOLLAR_PREFIXED

no replacement because was mistakenly considered a violation

Returns:

the path info portion of the string
org.eclipse.jetty.http.pathmap.PathSpec.getPathInfo
(String
the path to match against
path
)

use matched(String) instead

Returns:

the match, or null if no match at all
org.eclipse.jetty.http.pathmap.PathSpec.getPathMatch
(String
the path to match against
path
)

use matched(String) instead