Package ai.vespa.models.handler
Class ModelsEvaluationHandler
java.lang.Object
com.yahoo.jdisc.AbstractResource
com.yahoo.jdisc.handler.AbstractRequestHandler
com.yahoo.container.jdisc.ThreadedRequestHandler
com.yahoo.container.jdisc.ThreadedHttpRequestHandler
ai.vespa.models.handler.ModelsEvaluationHandler
- All Implemented Interfaces:
com.yahoo.container.jdisc.HttpRequestHandler,com.yahoo.jdisc.handler.RequestHandler,com.yahoo.jdisc.SharedResource
public class ModelsEvaluationHandler
extends com.yahoo.container.jdisc.ThreadedHttpRequestHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.container.jdisc.ThreadedHttpRequestHandler
com.yahoo.container.jdisc.ThreadedHttpRequestHandler.Context, com.yahoo.container.jdisc.ThreadedHttpRequestHandler.LazyContentChannelNested classes/interfaces inherited from interface com.yahoo.jdisc.SharedResource
com.yahoo.jdisc.SharedResource.Debug -
Field Summary
FieldsFields inherited from class com.yahoo.container.jdisc.ThreadedHttpRequestHandler
CONTENT_TYPE, logFields inherited from class com.yahoo.container.jdisc.ThreadedRequestHandler
metric, metricUtilFields inherited from interface com.yahoo.jdisc.SharedResource
DEBUG, SYSTEM_PROPERTY_NAME_DEBUG -
Constructor Summary
ConstructorsConstructorDescriptionModelsEvaluationHandler(ModelsEvaluator modelsEvaluator, Executor executor) ModelsEvaluationHandler(com.yahoo.component.provider.ComponentRegistry<ModelsEvaluator> registry, Executor executor) -
Method Summary
Modifier and TypeMethodDescriptioncom.yahoo.container.jdisc.HttpResponsehandle(com.yahoo.container.jdisc.HttpRequest request) Methods inherited from class com.yahoo.container.jdisc.ThreadedHttpRequestHandler
addDateHeader, asHttpRequest, createLoggingCompletionHandler, handle, handleRequest, testContextMethods inherited from class com.yahoo.container.jdisc.ThreadedRequestHandler
executor, getRequestType, getTimeout, handleRequest, writeErrorResponseOnOverloadMethods inherited from class com.yahoo.jdisc.handler.AbstractRequestHandler
handleTimeoutMethods inherited from class com.yahoo.jdisc.AbstractResource
currentState, destroy, refer, refer, release, retainCountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.yahoo.container.jdisc.HttpRequestHandler
requestHandlerSpecMethods inherited from interface com.yahoo.jdisc.handler.RequestHandler
handleRequest, handleTimeoutMethods inherited from interface com.yahoo.jdisc.SharedResource
refer, refer, release
-
Field Details
-
API_ROOT
- See Also:
-
VERSION_V1
- See Also:
-
EVALUATE
- See Also:
-
-
Constructor Details
-
ModelsEvaluationHandler
@Inject public ModelsEvaluationHandler(com.yahoo.component.provider.ComponentRegistry<ModelsEvaluator> registry, Executor executor) -
ModelsEvaluationHandler
-
-
Method Details
-
handle
public com.yahoo.container.jdisc.HttpResponse handle(com.yahoo.container.jdisc.HttpRequest request) - Specified by:
handlein classcom.yahoo.container.jdisc.ThreadedHttpRequestHandler
-