Skip to content

Commit

Permalink
Fixed typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
noboomu committed May 11, 2017
1 parent 89e3c3b commit fb265ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ A great deal of inspiration came from working with the following excellent proje
return io.sinistral.proteus.server.ServerResponse.response().entity(new World(id,randomNumber));
}
```
- CompletableFuture<ServerResponse<T>> is also supported:
- ```CompletableFuture<ServerResponse<T>>``` is also supported:
```java
@GET
@Path("/future/user")
Expand All @@ -121,7 +121,7 @@ A great deal of inspiration came from working with the following excellent proje
return CompletableFuture.completedFuture(response( new User(123L) ).applicationJson() );
}
```
- In this case a handler will be generated the following source code:
- In this case a handler will be generated with the following source code:
```java
public void handleRequest(final io.undertow.server.HttpServerExchange exchange) throws java.lang.Exception {
CompletableFuture<ServerResponse<User>> response = examplesController.futureUser();
Expand Down

0 comments on commit fb265ef

Please sign in to comment.