Top For Removal Deprecated
Core :: Server 12.0.6

Deprecated API


Terminally Deprecated Item Summary

SinceTerminally Deprecated Item and Description
12.0.6
12.0.6
12.0.6
org.eclipse.jetty.server.internal.HttpConnection.HttpConnection(HttpConfiguration configuration, Connector connector, EndPoint endPoint, boolean recordComplianceViolations)

use HttpConnection(HttpConfiguration, Connector, EndPoint) instead. Will be removed in Jetty 12.1.0

12.0.6
org.eclipse.jetty.server.internal.HttpConnection.isRecordHttpComplianceViolations()

No replacement, no longer used within HttpConnection, will be removed in Jetty 12.1.0

Deprecated Item Summary

SinceDeprecated Item and Description
org.eclipse.jetty.server.OptionalSslConnectionFactory.otherProtocol(ByteBuffer
The buffer with the first bytes of the connection
buffer
,
EndPoint
The connection EndPoint object
endPoint
)

Override nextProtocol(Connector, EndPoint, ByteBuffer) instead.

Returns:

the full redirect "Location" URL (including scheme, host, port, path, etc...)
org.eclipse.jetty.server.Request.toRedirectURI
(Request
the request the redirect should be based on (needed when relative locations are provided, so that server name, scheme, port can be built out properly)
request
,
String
the location URL to redirect to (can be a relative path)
location
)

use Response#toRedirectURI(Request, String)

org.eclipse.jetty.server.Response.replaceCookie(Response
the HTTP response
response
,
HttpCookie
the HTTP cookie to add
cookie
)

use putCookie(Response, HttpCookie)