# ProxyConfig.ProxyRule

Artifact: [androidx.webkit:webkit](https://developer.android.com/jetpack/androidx/releases/webkit) [View Source](https://cs.android.com/search?q=file:androidx/webkit/ProxyConfig.java+class:androidx.webkit.ProxyConfig.ProxyRule) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/webkit#1.1.0)

*** ** * ** ***


```
public final class ProxyConfig.ProxyRule
```

<br />

*** ** * ** ***

Class that holds a scheme filter and a proxy URL.

## Summary

| ### Public methods |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/webkit/ProxyConfig.ProxyRule#getSchemeFilter()()` Returns the `https://developer.android.com/reference/java/lang/String.html` that represents the scheme filter for this object. |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/webkit/ProxyConfig.ProxyRule#getUrl()()` Returns the `https://developer.android.com/reference/java/lang/String.html` that represents the proxy URL for this object. |

## Public methods

### getSchemeFilter

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/webkit#1.1.0)

```
public @NonNull String getSchemeFilter()
```

Returns the `https://developer.android.com/reference/java/lang/String.html` that represents the scheme filter for this object.

| Returns |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html` | Scheme filter |

### getUrl

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/webkit#1.1.0)

```
public @NonNull String getUrl()
```

Returns the `https://developer.android.com/reference/java/lang/String.html` that represents the proxy URL for this object.

| Returns |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html` | Proxy URL |