Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Commit

Permalink
update readme with serializer class argument
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwawi committed Apr 3, 2016
1 parent d25aaf3 commit 3d1e992
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apollo-entity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ signatures.
On top of these, there's also just a serializing middleware for handlers that do not take a
request entity as an input.

* `serializerDirect()` middleware : `SyncHandler<R>`
* `serializerDirect(R.class)` middleware : `SyncHandler<R>`
- `R handler()`
* `serializerResponse()` middleware : `SyncHandler<Response<R>>`
* `serializerResponse(R.class)` middleware : `SyncHandler<Response<R>>`
- `Response<R> handler()`
* `asyncSerializerDirect()` middleware : `AsyncHandler<R>`
* `asyncSerializerDirect(R.class)` middleware : `AsyncHandler<R>`
- `CompletionStage<R> handler()`
* `asyncSerializerResponse()` middleware : `AsyncHandler<Response<R>>`
* `asyncSerializerResponse(R.class)` middleware : `AsyncHandler<Response<R>>`
- `CompletionStage<Response<R>> handler()`

All of the `Entity*` handler signatures are in curried form with a `RequestContext` as the first
Expand Down

0 comments on commit 3d1e992

Please sign in to comment.