Top Description Methods
io.undertow.servlet.api

public Interface ConfidentialPortManager

Imports
io.undertow.server.HttpServerExchange

A utility to take the HttpServerExchange of the current request and obtain the number of the port number to use in https redirects.
Author
Darran Lofthouse

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

The port to use in the redirection URI or -1 if no configured port is available.
getConfidentialPort
(final HttpServerExchange
The current HttpServerExchange being redirected.
exchange
)

Obtain the port number to redirect the current request to to provide the transport guarantee of CONDIFENTIAL.

Method Detail

getConfidentialPortback to summary
public int getConfidentialPort(final HttpServerExchange exchange)

Obtain the port number to redirect the current request to to provide the transport guarantee of CONDIFENTIAL.

Parameters
exchange:HttpServerExchange

The current HttpServerExchange being redirected.

Returns:int

The port to use in the redirection URI or -1 if no configured port is available.