mirror of
https://github.com/devsnaith/lumiere-server.git
synced 2024-11-23 17:13:14 +03:00
Update README.md
This commit is contained in:
parent
4bee06915c
commit
f9cceb68a0
@ -56,7 +56,7 @@ new Lumiere((HttpRequest request, HttpResponse response) -> {
|
||||
|
||||
You can create multiple pages for your simple server using ``HttpController``
|
||||
|
||||
#### Create responses using ``HttpController`` class
|
||||
#### Example using ``HttpController`` class
|
||||
```java
|
||||
HttpController controller = new HttpController();
|
||||
controller.addHandler("/", new SimpleResponse("<a href=\"/info\">GO TO INFO</a>", true));
|
||||
|
Loading…
Reference in New Issue
Block a user