Uses of Class
ai.singlr.runtime.RuntimeServer.Builder
-
Uses of RuntimeServer.Builder in ai.singlr.runtime
Methods in ai.singlr.runtime that return RuntimeServer.BuilderModifier and TypeMethodDescriptionstatic RuntimeServer.BuilderRuntimeServer.builder()Start building a server.Bind the HTTP listen host.RuntimeServer.Builder.withObjectMapper(tools.jackson.databind.ObjectMapper objectMapper) Override the defaultJsonMapper.RuntimeServer.Builder.withOptionsFactory(Function<String, ai.singlr.session.SessionOptions> optionsFactory) Bind the options factory the service calls for everyPOST /sessionsrequest.RuntimeServer.Builder.withPort(int port) Bind the HTTP listen port.RuntimeServer.Builder.withRegistry(SessionRegistry registry) Bind the registry the service exposes.RuntimeServer.Builder.withRoutePrefix(String routePrefix) Override the URL prefix the service is mounted under (default/v1).