You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-java/features/connectivity/008-transparent-proxy.mdx
+44-1Lines changed: 44 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,13 +204,56 @@ try {
204
204
205
205
-`X-Error-Origin` - the source of the error
206
206
-`X-Proxy-Server` - the proxy server (Transparent Proxy)
207
-
-`X-Error-Message` - thorough error message
207
+
-`X-Error-Message` - through error message
208
208
-`X-Error-Internal-Code` - set only when the source of the error is the XSUAA or Destination service.
209
209
The value is the HTTP code returned from one of these services.
210
210
-`X-Request-Id` is sent with the response in all requests, both successful and failed
211
211
212
212
For more information, see [Troubleshooting](https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/transparent-proxy-troubleshooting)
213
213
214
+
## Transparent Proxy Loader
215
+
216
+
The `TransparentProxy` class is a `DestinationLoader` that enables routing all destination traffic through a single registered gateway host.
217
+
This provides a centralized approach to proxy configuration where all destination requests are automatically routed through the configured gateway.
218
+
219
+
### Registration Methods
220
+
221
+
#### Register with Default Port
222
+
223
+
Register a transparent proxy gateway using the default port 80:
224
+
225
+
```java
226
+
// Register with default port 80
227
+
// Note: 'gateway.svc.cluster.local' is a sample for a typical Kubernetes Cluster IP service DNS name pointing to the Transparent Proxy [Destination Gateway](https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/dynamic-lookup-of-destinations)
0 commit comments