| Package | Description |
|---|---|
| com.google.apphosting.runtime | |
| com.google.apphosting.runtime.jetty9 | |
| com.google.apphosting.runtime.jetty94 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
HttpCompression.attemptCompression(com.google.apphosting.base.protos.RuntimePb.UPRequest request,
MutableUpResponse response)
Attempt to compress the HttpResponse, using trusted and untrusted headers
to determine if the client (or GFE) accepts compression for this response.
|
ApiProxyImpl.EnvironmentImpl |
ApiProxyImpl.createEnvironment(AppVersion appVersion,
com.google.apphosting.base.protos.RuntimePb.UPRequest upRequest,
MutableUpResponse upResponse,
TraceWriter traceWriter,
CpuRatioTimer requestTimer,
String requestId,
List<Future<?>> asyncFutures,
Semaphore outstandingApiRpcSemaphore,
ThreadGroup requestThreadGroup,
RequestState requestState,
Long millisUntilSoftDeadline)
Creates an
ApiProxy.Environment instance that is suitable for use with this class. |
void |
RuntimeLogSink.flushLogs(MutableUpResponse response) |
static TraceWriter |
TraceWriter.getTraceWriterForRequest(com.google.apphosting.base.protos.RuntimePb.UPRequest upRequest,
MutableUpResponse upResponse) |
void |
UPRequestHandler.serviceRequest(com.google.apphosting.base.protos.RuntimePb.UPRequest upRequest,
MutableUpResponse upResponse)
Executes the HTTP request specified by
upRequest and writes the response to upResponse. |
static void |
RequestRunner.setFailure(MutableUpResponse response,
com.google.apphosting.base.protos.RuntimePb.UPResponse.ERROR error,
String message)
Create a failure response from the given code and message.
|
abstract RequestRunner.Builder |
RequestRunner.Builder.setUpResponse(MutableUpResponse upResponse) |
RequestManager.RequestToken |
RequestManager.startRequest(AppVersion appVersion,
AnyRpcServerContext rpc,
com.google.apphosting.base.protos.RuntimePb.UPRequest upRequest,
MutableUpResponse upResponse,
ThreadGroup requestThreadGroup)
Set up any state necessary to execute a new request using the
specified parameters.
|
| Constructor and Description |
|---|
AppLogsWriter(MutableUpResponse upResponse,
long maxBytesToFlush,
int maxLogMessageLength,
int maxFlushSeconds)
Construct an AppLogsWriter instance.
|
RequestRunner(UPRequestHandler upRequestHandler,
RequestManager requestManager,
BackgroundRequestCoordinator coordinator,
boolean compressResponse,
AppVersion appVersion,
AnyRpcServerContext rpc,
com.google.apphosting.base.protos.RuntimePb.UPRequest upRequest,
MutableUpResponse upResponse) |
TraceWriter(com.google.apphosting.api.CloudTraceContext context,
MutableUpResponse upResponse) |
| Modifier and Type | Method and Description |
|---|---|
MutableUpResponse |
RpcEndPoint.getUpResponse() |
| Constructor and Description |
|---|
RpcEndPoint(com.google.apphosting.base.protos.RuntimePb.UPRequest upRequest,
MutableUpResponse upResponse) |
| Modifier and Type | Method and Description |
|---|---|
void |
RpcConnector.serviceRequest(AppVersionKey appVersionKey,
com.google.apphosting.base.protos.RuntimePb.UPRequest upRequest,
MutableUpResponse upResponse) |
void |
JettyServletEngineAdapter.serviceRequest(com.google.apphosting.base.protos.RuntimePb.UPRequest upRequest,
MutableUpResponse upResponse) |
Copyright © 2022. All rights reserved.