# ProxyConfig.ProxyRule

# 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)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/webkit/ProxyConfig.ProxyRule "View this page in Java")

<br />

```
class ProxyConfig.ProxyRule
```

<br />

*** ** * ** ***

Class that holds a scheme filter and a proxy URL.

## Summary

|                               ### Public functions                                |
|-----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | [getSchemeFilter](https://developer.android.com/reference/kotlin/androidx/webkit/ProxyConfig.ProxyRule#getSchemeFilter())`()` Returns the[String](https://developer.android.com/reference/java/lang/String.html)that represents the scheme filter for this object. |
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | [getUrl](https://developer.android.com/reference/kotlin/androidx/webkit/ProxyConfig.ProxyRule#getUrl())`()` Returns the[String](https://developer.android.com/reference/java/lang/String.html)that represents the proxy URL for this object.                       |

## Public functions

### getSchemeFilter

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

```
fun getSchemeFilter(): String
```

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

|                                      Returns                                      |
|-----------------------------------------------------------------------------------|---------------|
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | Scheme filter |

### getUrl

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

```
fun getUrl(): String
```

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

|                                      Returns                                      |
|-----------------------------------------------------------------------------------|-----------|
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | Proxy URL |