Class EvaluationRuntimeGrpc.EvaluationRuntimeBlockingStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<EvaluationRuntimeGrpc.EvaluationRuntimeBlockingStub>
com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeBlockingStub
Enclosing class:
EvaluationRuntimeGrpc

public static final class EvaluationRuntimeGrpc.EvaluationRuntimeBlockingStub extends io.grpc.stub.AbstractBlockingStub<EvaluationRuntimeGrpc.EvaluationRuntimeBlockingStub>
 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 Type
    Method
    Description
    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.apphosting.base.protos.EmptyMessage
    deleteAppVersion(com.google.apphosting.base.protos.AppinfoPb.AppInfo request)
    Delete an app version from the runtime.
    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.AbstractBlockingStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected EvaluationRuntimeGrpc.EvaluationRuntimeBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<EvaluationRuntimeGrpc.EvaluationRuntimeBlockingStub>
    • handleRequest

      public 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.apphosting.base.protos.EmptyMessage addAppVersion(com.google.apphosting.base.protos.AppinfoPb.AppInfo request)
       Add an app version to the runtime.
       
    • deleteAppVersion

      public 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.