Class 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

      All Methods Instance Methods Concrete Methods 
      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.
      protected EvaluationRuntimeGrpc.EvaluationRuntimeBlockingStub 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
    • Method Detail

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