update readme.md file

This commit is contained in:
YuCheng Hu 2022-07-06 01:07:24 -04:00
parent 8a62ee68f0
commit 5cd276a74d
No known key found for this signature in database
GPG Key ID: C395DC68EF030B59
1 changed files with 14 additions and 8 deletions

View File

@ -1,20 +1,19 @@
= reoc-mls-client
# reoc-mls-client
The REoC RETS Client - Java is a library used to access data on RETS compliant servers.
This is a fork of the [jrets](https://github.com/jpfielding/jrets) master branch, which it self is a fork of the [CART RETS client](http://cart.sourceforge.net/).
== Scan QR
## Scan QR
You can Subscribe us by scan QR below:
image::https://cdn.ossez.com/img/cwikius/cwikus.jpg[]
== Examples
## Examples
Simple example of a search:
public static void main(String[] args) throws MalformedURLException {
```
public static void main(String[] args) throws MalformedURLException {
//Create a RetsHttpClient (other constructors provide configuration i.e. timeout, gzip capability)
RetsHttpClient httpClient = new CommonsHttpClient();
@ -77,9 +76,14 @@ Simple example of a search:
}
}
}
```
Simple example making a GetObjectRequest:
```
public static void main(String[] args) throws MalformedURLException {
//Create a RetsHttpClient (other constructors provide configuration i.e. timeout, gzip capability)
@ -173,11 +177,11 @@ Simple example making a GetObjectRequest:
}
}
}
```
Example of Geting Metadata:
```
public static void main(String[] args) throws MalformedURLException {
//Create a RetsHttpClient (other constructors provide configuration i.e. timeout, gzip capability)
@ -232,6 +236,8 @@ Example of Geting Metadata:
}
}
}
```
## License