public interface RequestedUriDiscoveryContext
Requested URI discovery settings for a socket.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classBuilder forRequestedUriDiscoveryContext.static enumTypes of discovery of frontend URI.static classIndicates 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 aRequestedUriDiscoveryContextusing the provide discovery context config node.static RequestedUriDiscoveryContextCreates a newRequestedUriDiscoveryContextfrom the provided discovery context config node.default UriInfouriInfo(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 aUriInfoobject for a request based on the discovery settings in theRequestedUriDiscoveryContextand the specified request-related information.
-
Method Details
-
builder
Creates a new builder for aRequestedUriDiscoveryContext.- Returns:
- new builder
-
builder
Creates a new builder for aRequestedUriDiscoveryContextusing the provide discovery context config node.- Parameters:
config- discovery context config node- Returns:
- new builder
-
create
Creates a newRequestedUriDiscoveryContextfrom 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 aUriInfoobject for a request based on the discovery settings in theRequestedUriDiscoveryContextand 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:
UriInfowhich 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 aUriInfoobject for a request based on the discovery settings in theRequestedUriDiscoveryContextand 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:
UriInfowhich reconstructs, as well as possible, the requested URI from the originating client
-
uriInfo(java.net.SocketAddress, java.net.SocketAddress, String, ServerRequestHeaders, io.helidon.common.uri.UriQuery, boolean)