public abstract static class EvaluationRuntimeGrpc.EvaluationRuntimeImplBase extends Object implements io.grpc.BindableService
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.
| Constructor and Description |
|---|
EvaluationRuntimeImplBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAppVersion(com.google.apphosting.base.protos.AppinfoPb.AppInfo request,
io.grpc.stub.StreamObserver<com.google.apphosting.base.protos.EmptyMessage> responseObserver)
Add an app version to the runtime.
|
io.grpc.ServerServiceDefinition |
bindService() |
void |
deleteAppVersion(com.google.apphosting.base.protos.AppinfoPb.AppInfo request,
io.grpc.stub.StreamObserver<com.google.apphosting.base.protos.EmptyMessage> responseObserver)
Delete an app version from the runtime.
|
void |
handleRequest(com.google.apphosting.base.protos.RuntimePb.UPRequest request,
io.grpc.stub.StreamObserver<com.google.apphosting.base.protos.RuntimePb.UPResponse> responseObserver)
Given information an application and an HTTP request, execute the
request and prepare a response for the user.
|
public void handleRequest(com.google.apphosting.base.protos.RuntimePb.UPRequest request,
io.grpc.stub.StreamObserver<com.google.apphosting.base.protos.RuntimePb.UPResponse> responseObserver)
Given information an application and an HTTP request, execute the request and prepare a response for the user.
public void addAppVersion(com.google.apphosting.base.protos.AppinfoPb.AppInfo request,
io.grpc.stub.StreamObserver<com.google.apphosting.base.protos.EmptyMessage> responseObserver)
Add an app version to the runtime.
public void deleteAppVersion(com.google.apphosting.base.protos.AppinfoPb.AppInfo request,
io.grpc.stub.StreamObserver<com.google.apphosting.base.protos.EmptyMessage> responseObserver)
Delete an app version from the runtime. NOTE: Here, AppInfo will be an AppInfo-lite.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2022. All rights reserved.