public interface RequestedUriDiscoveryContext
Requested URI discovery settings for a socket.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
Builder forRequestedUriDiscoveryContext
.static enum
Types of discovery of frontend URI.static class
Indicates unsafe settings for a socket's request URI discovery. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a new builder for aRequestedUriDiscoveryContext
.Creates a new builder for aRequestedUriDiscoveryContext
using the provide discovery context config node.static RequestedUriDiscoveryContext
Creates a newRequestedUriDiscoveryContext
from the provided discovery context config node.default UriInfo
uriInfo
(String remoteAddress, String localAddress, String requestPath, ServerRequestHeaders headers, UriQuery query, boolean isSecure) Deprecated, for removal: This API element is subject to removal in a future version.uriInfo
(SocketAddress remoteAddress, SocketAddress localAddress, String requestPath, ServerRequestHeaders headers, UriQuery query, boolean isSecure) Creates aUriInfo
object for a request based on the discovery settings in theRequestedUriDiscoveryContext
and the specified request-related information.
-
Method Details
-
builder
Creates a new builder for aRequestedUriDiscoveryContext
.- Returns:
- new builder
-
builder
Creates a new builder for aRequestedUriDiscoveryContext
using the provide discovery context config node.- Parameters:
config
- discovery context config node- Returns:
- new builder
-
create
Creates a newRequestedUriDiscoveryContext
from the provided discovery context config node.- Parameters:
config
- node for the discovery context- Returns:
- new discovery context instance
-
uriInfo
@Deprecated(forRemoval=true, since="4.2.1") default UriInfo uriInfo(String remoteAddress, String localAddress, String requestPath, ServerRequestHeaders headers, UriQuery query, boolean isSecure) Deprecated, for removal: This API element is subject to removal in a future version.Creates aUriInfo
object for a request based on the discovery settings in theRequestedUriDiscoveryContext
and the specified request-related information.- Parameters:
remoteAddress
- remote address from the requestlocalAddress
- local address from the requestrequestPath
- path from the requestheaders
- request headersquery
- query information from the requestisSecure
- whether the request is secure- Returns:
UriInfo
which reconstructs, as well as possible, the requested URI from the originating client
-
uriInfo
UriInfo uriInfo(SocketAddress remoteAddress, SocketAddress localAddress, String requestPath, ServerRequestHeaders headers, UriQuery query, boolean isSecure) Creates aUriInfo
object for a request based on the discovery settings in theRequestedUriDiscoveryContext
and the specified request-related information.- Parameters:
remoteAddress
- remote address from the requestlocalAddress
- local address from the requestrequestPath
- path from the requestheaders
- request headersquery
- query information from the requestisSecure
- whether the request is secure- Returns:
UriInfo
which reconstructs, as well as possible, the requested URI from the originating client
-
uriInfo(java.net.InetSocketAddress, java.net.InetSocketAddress, String, ServerRequestHeaders, io.helidon.common.uri.UriQuery, boolean)