Class DbResultSupport
- java.lang.Object
-
- io.helidon.dbclient.webserver.jsonp.DbResultSupport
-
- All Implemented Interfaces:
Handler,Service,BiConsumer<ServerRequest,ServerResponse>
@Deprecated public final class DbResultSupport extends Object implements Service, Handler
Deprecated.This class is a hack to work around insufficient support for stream of objects in WebServer - the update to WebServer is in progress. This module will be removed.Support to writeDbRowsdirectly to webserver. This result support creates an array of json objects and writes them to the response entity.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.helidon.webserver.Handler
Handler.EntityHandler<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaccept(ServerRequest serverRequest, ServerResponse serverResponse)Deprecated.static DbResultSupportcreate()Deprecated.Create a new instance to register with a webserver.voidupdate(Routing.Rules rules)Deprecated.UpdatesRouting.Ruleswithhandlersrepresenting this service.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
-
-
-
Method Detail
-
create
public static DbResultSupport create()
Deprecated.Create a new instance to register with a webserver.
-
accept
public void accept(ServerRequest serverRequest, ServerResponse serverResponse)
Deprecated.Description copied from interface:Handler- Specified by:
acceptin interfaceBiConsumer<ServerRequest,ServerResponse>- Specified by:
acceptin interfaceHandler- Parameters:
serverRequest- an HTTP server request.serverResponse- an HTTP server response.
-
update
public void update(Routing.Rules rules)
Deprecated.Description copied from interface:ServiceUpdatesRouting.Ruleswithhandlersrepresenting this service.
-
-