Uses of Class
org.apache.juneau.http.remote.RemoteUrlPolicy.AllowedRanges
Packages that use RemoteUrlPolicy.AllowedRanges
Package
Description
Remote REST API
Next-generation REST client — transport-agnostic HTTP client built on Juneau's serialization stack.
REST Client API
Remote REST API
-
Uses of RemoteUrlPolicy.AllowedRanges in org.apache.juneau.http.remote
Fields in org.apache.juneau.http.remote declared as RemoteUrlPolicy.AllowedRangesModifier and TypeFieldDescriptionstatic final RemoteUrlPolicy.AllowedRangesRemoteUrlPolicy.AllowedRanges.NONEThe empty allow-list, which re-permits nothing.Methods in org.apache.juneau.http.remote that return RemoteUrlPolicy.AllowedRangesModifier and TypeMethodDescriptionParses and validates allow-list entries.Methods in org.apache.juneau.http.remote with parameters of type RemoteUrlPolicy.AllowedRangesModifier and TypeMethodDescriptionstatic booleanRemoteUrlPolicy.isDeniedAddress(InetAddress addr, RemoteUrlPolicy.AllowedRanges allowedRanges) Same asRemoteUrlPolicy.isDeniedAddress(InetAddress), additionally re-permitting special-purpose addresses inside the per-clientallowedRanges.static booleanRemoteUrlPolicy.isDeniedHost(String host, RemoteUrlPolicy.AllowedRanges allowedRanges) Same asRemoteUrlPolicy.isDeniedHost(String), taking the per-clientallowedRangesinto account.static StringRemoteUrlPolicy.requireAllowedUrl(String url, boolean allowPrivateUrls, RemoteUrlPolicy.AllowedRanges allowedRanges) Same asRemoteUrlPolicy.requireAllowedUrl(String, boolean), additionally re-permitting literal hosts that fall inside the per-clientallowedRanges(unioned with the "RestClient.allowAddressRanges" system property).static InetAddressRemoteUrlPolicy.selectAllowedAddress(String host, boolean allowPrivateUrls, RemoteUrlPolicy.AddressResolver resolver, RemoteUrlPolicy.AllowedRanges allowedRanges) Same asRemoteUrlPolicy.selectAllowedAddress(String, boolean, AddressResolver), additionally re-permitting candidates inside the per-clientallowedRanges(unioned with the "RestClient.allowAddressRanges" system property). -
Uses of RemoteUrlPolicy.AllowedRanges in org.apache.juneau.rest.client
Methods in org.apache.juneau.rest.client that return RemoteUrlPolicy.AllowedRangesModifier and TypeMethodDescriptionRestClient.getAllowedAddressRanges()Returns the per-client special-purpose address ranges this client re-permits in the SSRF guardrail (seeRestClient.Builder.allowAddressRanges(String...)).TransportRequest.getAllowedAddressRanges()Returns the per-client special-purpose address ranges that the SSRF guardrail re-permits for this request (seeRestClient.Builder.allowAddressRanges(String...)); they are unioned with the "RestClient.allowAddressRanges" system property.Methods in org.apache.juneau.rest.client with parameters of type RemoteUrlPolicy.AllowedRangesModifier and TypeMethodDescriptionTransportRequest.Builder.allowedAddressRanges(RemoteUrlPolicy.AllowedRanges value) Sets the per-client special-purpose address ranges the SSRF guardrail re-permits for this request. -
Uses of RemoteUrlPolicy.AllowedRanges in org.apache.juneau.rest.client.classic
Methods in org.apache.juneau.rest.client.classic that return RemoteUrlPolicy.AllowedRangesModifier and TypeMethodDescriptionRestClient.getAllowedAddressRanges()Returns the per-client allowed address ranges set throughRestClient.Builder.allowAddressRanges(String...). -
Uses of RemoteUrlPolicy.AllowedRanges in org.apache.juneau.rest.client.classic.remote
Methods in org.apache.juneau.rest.client.classic.remote with parameters of type RemoteUrlPolicy.AllowedRangesModifier and TypeMethodDescriptionstatic StringRemoteProxyUtils.requireHttpScheme(String url, boolean allowPrivateUrls, RemoteUrlPolicy.AllowedRanges allowedRanges) Same asRemoteProxyUtils.requireHttpScheme(String, boolean), additionally honoring a client's per-client allowed address ranges.