Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TanyaEf authored Mar 24, 2017
1 parent 2058e12 commit 9eb3d11
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ To do this you should create instance of `RestClientConfiguration`. It can be do
- loading configuration from file;
- creation of manual configuration in java code.

####Loading configuration from file:
###Loading configuration from file:
```java
RestClientConfiguration configuration = RestClientConfiguration.loadConfiguration("configuration.properties");
```
Expand All @@ -160,7 +160,8 @@ acceptMimeType=JSON
```
File must contain at least URL which is entry point to your server's REST services and it is needed to URL corresponds to this pattern `{protocol}://{host}:{port}/{contextPath}`.
Please notice, configuration settings may be changed after loading manually in java code.
####Creation of manual configuration

###Creation of manual configuration
To configure `JasperserverRestClient` manually, use the constructor of `RestClientConfiguration` and properties:
```java
RestClientConfiguration configuration = new RestClientConfiguration("http://localhost:8080/jasperserver");
Expand Down

0 comments on commit 9eb3d11

Please sign in to comment.