Top For Removal Deprecated By Reference
Undertow 2.3.12.Final

Deprecated API


Terminally Deprecated Item Summary

SinceTerminally Deprecated Item and Description
1.3.0
io.undertow.security.api.SecurityContext.addAuthenticationMechanism(AuthenticationMechanism
The mechanism to add
mechanism
)

This method is now only applicable to SecurityContext implementations that also implement the AuthenticationMechanismContext interface.

1.3.0

Returns:

A list of all authentication mechanisms in this context
io.undertow.security.api.SecurityContext.getAuthenticationMechanisms
()

Obtaining lists of mechanisms is discouraged, however there should not be a need to call this anyway.

1.2.0

Returns:

The associated IdentityManager
io.undertow.security.api.SecurityContext.getIdentityManager
()

Authentication mechanisms that rely on the IdentityManager should instead hold their own reference to it.

1.3.0
io.undertow.security.api.SecurityContextFactory

Instead extend AbstractSecurityContextAssociationHandler to provide alternative contexts.

2.2.0
2.2.0

Returns:

A mutable map of response cookies
io.undertow.server.HttpServerExchange.getResponseCookies
()

use either responseCookies() or setResponseCookie(Cookie) methods instead

1.0.0
2.0.4
2.0.4
2.0.4
2.3.6.Final
2.3.0
2.2.0

Returns:

A pared cookie map
io.undertow.util.Cookies.parseRequestCookies
(int
The maximum number of cookies. Used to prevent hash collision attacks
maxCookies
,
boolean
if true equal characters are allowed in cookie values
allowEqualInValue
,
List<String>
The cookie values to parse
cookies
)

use parseRequestCookies(int, boolean, List, Set) instead

Deprecated Item Summary

SinceDeprecated Item and Description

Returns:

A new date handler
io.undertow.Handlers.date
(final HttpHandler
The next handler in the chain
next
)

io.undertow.UndertowOptions.ALLOW_ENCODED_SLASH

- this option was interpreted improperly.

Returns:

The mechanism
io.undertow.security.api.AuthenticationMechanismFactory.create
(String
The name under which this factory was registered
mechanismName
,
FormParserFactory
Parser to create a form data parser for a given request.
formParserFactory
,
final Map<String, String>
The properties
properties
)

2.2.3
io.undertow.server.Connectors.setExchangeRequestPath(final HttpServerExchange
The exchange
exchange
,
final String
The encoded path
encodedPath
,
final String
The charset
charset
,
boolean decode, final boolean allowEncodedSlash, StringBuilder decodeBuffer)

2.2.3

Returns:

The connections buffer pool
io.undertow.server.ServerConnection.getBufferPool
()

io.undertow.server.handlers.JDBCLogHandler(final HttpHandler next, final Executor logWriteExecutor, final String formatString, DataSource dataSource)

Returns:

The temp file that the file data was saved to
io.undertow.server.handlers.form.FormData.FormValue.getPath
()

io.undertow.server.handlers.proxy.ProxyHandler(ProxyClient
the client to use to make the proxy call
proxyClient
,
int
the maximum amount of time to allow the request to be processed
maxRequestTime
,
HttpHandler
the next handler in line
next
,
boolean
should the HOST header be rewritten to use the target host of the call.
rewriteHostHeader
,
boolean
should any existing X-Forwarded-For header be used or should it be overwritten.
reuseXForwarded
)

io.undertow.server.handlers.proxy.ProxyHandler(ProxyClient
the client to use to make the proxy call
proxyClient
,
int
the maximum amount of time to allow the request to be processed
maxRequestTime
,
HttpHandler
the next handler in line
next
,
boolean
should the HOST header be rewritten to use the target host of the call.
rewriteHostHeader
,
boolean
should any existing X-Forwarded-For header be used or should it be overwritten.
reuseXForwarded
,
int maxConnectionRetries)

Returns:

this
io.undertow.server.handlers.proxy.ProxyHandler.addRequestHeader
(final HttpString
The header name
header
,
final ExchangeAttribute
The header value attribute.
attribute
)

Returns:

this
io.undertow.server.handlers.proxy.ProxyHandler.addRequestHeader
(final HttpString
The header name
header
,
final String
The header value attribute.
value
)

Returns:

this
io.undertow.server.handlers.proxy.ProxyHandler.addRequestHeader
(final HttpString
The header name
header
,
final String
The header value attribute.
attribute
,
final ClassLoader classLoader)

io.undertow.servlet.handlers.security.ServletFormAuthenticationMechanism(final String name, final String loginPage, final String errorPage, final String postLocation)

io.undertow.util.Cookies.parseRequestCookies(int maxCookies, boolean allowEqualInValue, List<String> cookies, boolean commaIsSeperator)

Returns:

The token, or null if it was not found
io.undertow.util.Headers.extractTokenFromHeader
(final String
The header
header
,
final String
The key that identifies the token to extract
key
)

Returns:

The map of key value parameters
io.undertow.util.QueryParameterUtils.parseQueryString
(final String
The query string
newQueryString
)

io.undertow.util.URLUtils.parsePathParms(final String string, final HttpServerExchange exchange, final String charset, final boolean doDecode, int maxParameters)

io.undertow.websockets.client.WebSocketClient.connect(XnioWorker worker, XnioSsl ssl, final ByteBufferPool bufferPool, final OptionMap optionMap, final URI uri, WebSocketVersion version)

io.undertow.websockets.client.WebSocketClient.connect(XnioWorker worker, final ByteBufferPool bufferPool, final OptionMap optionMap, final URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation)

io.undertow.websockets.client.WebSocketClient.connect(XnioWorker worker, XnioSsl ssl, final ByteBufferPool bufferPool, final OptionMap optionMap, final URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation)

io.undertow.websockets.client.WebSocketClient.connect(XnioWorker worker, XnioSsl ssl, final ByteBufferPool bufferPool, final OptionMap optionMap, final URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> clientExtensions)

io.undertow.websockets.client.WebSocketClient.connect(XnioWorker worker, XnioSsl ssl, final ByteBufferPool bufferPool, final OptionMap optionMap, InetSocketAddress bindAddress, final URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> clientExtensions)

io.undertow.websockets.core.WebSocketUtils.initiateTransfer(final I
the source channel
source
,
final O
the target channel
sink
,
final ChannelListener<? super I>
the source listener to set and call when the transfer is complete, or null to clear the listener at that time
sourceListener
,
final ChannelListener<? super O>
the target listener to set and call when the transfer is complete, or null to clear the listener at that time
sinkListener
,
final ChannelExceptionHandler<? super I>
the read exception handler to call if an error occurs during a read operation
readExceptionHandler
,
final ChannelExceptionHandler<? super O>
the write exception handler to call if an error occurs during a write operation
writeExceptionHandler
,
ByteBufferPool
the pool from which the transfer buffer should be allocated
pool
)

Deprecated Reference Summary

SinceItem with Deprecated Reference and Description
io.undertow.security.handlers.SecurityInitialHandler.contextFactory

SecurityContextFactory is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.security.handlers.SecurityInitialHandler(final AuthenticationMode authenticationMode, final IdentityManager identityManager, final String programaticMechName, final SecurityContextFactory contextFactory, final HttpHandler next)

SecurityContextFactory is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.security.impl.SecurityContextFactoryImpl

SecurityContextFactory is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.security.impl.SecurityContextFactoryImpl.INSTANCE

SecurityContextFactory is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.AbstractServerConnection.poolAdaptor

XnioBufferPoolAdaptor is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.AbstractServerConnection.getBufferPool()

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.BasicSSLSessionInfo.certificate

X509Certificate is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.XnioBufferPoolAdaptor

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.XnioBufferPoolAdaptor.allocate()

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.XnioByteBufferPool.pool

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.XnioByteBufferPool(Pool<ByteBuffer> pool)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.protocol.ajp.AjpOpenListener(final Pool<ByteBuffer> pool)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.protocol.ajp.AjpOpenListener(final Pool<ByteBuffer> pool, final OptionMap undertowOptions)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.protocol.http.AlpnOpenListener(Pool<ByteBuffer> bufferPool, OptionMap undertowOptions, DelegateOpenListener httpListener)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.protocol.http.AlpnOpenListener(Pool<ByteBuffer> bufferPool, OptionMap undertowOptions)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.protocol.http.AlpnOpenListener(Pool<ByteBuffer> bufferPool, OptionMap undertowOptions, String fallbackProtocol, DelegateOpenListener fallbackListener)

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.protocol.http2.Http2ServerConnection.poolAdaptor

XnioBufferPoolAdaptor is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.protocol.http2.Http2ServerConnection.getBufferPool()

Pool is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.server.protocol.http2.Http2SslSessionInfo.getPeerCertificateChain()

X509Certificate is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.util.PooledAdaptor

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.util.ImmediatePooled<T>

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.websockets.core.AbstractReceiveListener.FreeDataCallback.data

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.websockets.core.AbstractReceiveListener.FreeDataCallback(Pooled<ByteBuffer[]> data)

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.websockets.core.BufferedBinaryMessage.getData()

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.websockets.core.BufferedBinaryMessage.PooledByteBufferArray

Pooled is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.servlet.api.DeploymentInfo.defaultServletConfig

DefaultServletConfig is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.servlet.api.DeploymentInfo.securityContextFactory

SecurityContextFactory is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.servlet.api.DeploymentInfo.getDefaultServletConfig()

DefaultServletConfig is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.servlet.api.DeploymentInfo.getSecurityContextFactory()

SecurityContextFactory is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.servlet.api.DeploymentInfo.setDefaultServletConfig(final DefaultServletConfig defaultServletConfig)

DefaultServletConfig is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.servlet.api.DeploymentInfo.setSecurityContextFactory(final SecurityContextFactory securityContextFactory)

SecurityContextFactory is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.servlet.api.LegacyThreadSetupActionWrapper.setupAction

ThreadSetupAction is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.servlet.api.LegacyThreadSetupActionWrapper(ThreadSetupAction setupAction)

ThreadSetupAction is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.servlet.handlers.ServletInitialHandler.MockServerConnection.poolAdaptor

XnioBufferPoolAdaptor is deprecated or references (maybe indirectly) at least one deprecated element.

io.undertow.servlet.handlers.ServletInitialHandler.MockServerConnection.getBufferPool()

Pool is deprecated or references (maybe indirectly) at least one deprecated element.