java.lang.Object
io.jooby.rxjava3.Reactivex
- All Implemented Interfaces:
io.jooby.ResultHandler
Rx reactive filter.
- Author:
- edgar
-
Constructor Details
-
Reactivex
public Reactivex()
-
-
Method Details
-
rx
public static io.jooby.Route.Filter rx()Adapt/map aFlowable,Single,ObservableandMayberesults as HTTP responses.import io.jooby.rxjava3.Reactivex.rx; use(rx()); get("/", ctx -> Single.from("Hello"));- Returns:
- Rx filter.
-
matches
- Specified by:
matchesin interfaceio.jooby.ResultHandler
-
create
@NonNull public io.jooby.Route.Filter create()- Specified by:
createin interfaceio.jooby.ResultHandler
-
isReactive
public boolean isReactive()- Specified by:
isReactivein interfaceio.jooby.ResultHandler
-