Class EvaluationRuntimeGrpc.EvaluationRuntimeFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<EvaluationRuntimeGrpc.EvaluationRuntimeFutureStub>
com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeFutureStub
- Enclosing class:
- EvaluationRuntimeGrpc
public static final class EvaluationRuntimeGrpc.EvaluationRuntimeFutureStub
extends io.grpc.stub.AbstractFutureStub<EvaluationRuntimeGrpc.EvaluationRuntimeFutureStub>
A service for evaluating HTTP requests. This service is implemented by all the App Engine runtimes. Note that all our existing sandbox/VM environments only support a single app version at a time, despite the multi-app-version capability implied by this interface. TODO: Consider changing the interface to not suggest that it can support multiple app versions. This would probably make the code less confusing. Related to that, there's no reason why the AppServer-side of the runtime needs to inherit from this interface. To the extent that it really does need similar methods, it can define its own local (non-RPC) versions of those interfaces.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<com.google.apphosting.base.protos.EmptyMessage>addAppVersion(com.google.apphosting.base.protos.AppinfoPb.AppInfo request) Add an app version to the runtime.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<com.google.apphosting.base.protos.EmptyMessage>deleteAppVersion(com.google.apphosting.base.protos.AppinfoPb.AppInfo request) Delete an app version from the runtime.com.google.common.util.concurrent.ListenableFuture<com.google.apphosting.base.protos.RuntimePb.UPResponse>handleRequest(com.google.apphosting.base.protos.RuntimePb.UPRequest request) Given information an application and an HTTP request, execute the request and prepare a response for the user.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected EvaluationRuntimeGrpc.EvaluationRuntimeFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EvaluationRuntimeGrpc.EvaluationRuntimeFutureStub>
-
handleRequest
public com.google.common.util.concurrent.ListenableFuture<com.google.apphosting.base.protos.RuntimePb.UPResponse> handleRequest(com.google.apphosting.base.protos.RuntimePb.UPRequest request) Given information an application and an HTTP request, execute the request and prepare a response for the user.
-
addAppVersion
public com.google.common.util.concurrent.ListenableFuture<com.google.apphosting.base.protos.EmptyMessage> addAppVersion(com.google.apphosting.base.protos.AppinfoPb.AppInfo request) Add an app version to the runtime.
-
deleteAppVersion
public com.google.common.util.concurrent.ListenableFuture<com.google.apphosting.base.protos.EmptyMessage> deleteAppVersion(com.google.apphosting.base.protos.AppinfoPb.AppInfo request) Delete an app version from the runtime. NOTE: Here, AppInfo will be an AppInfo-lite.
-