Package com.google.apphosting.runtime
Interface UPRequestHandler
-
- All Known Subinterfaces:
ServletEngineAdapter
- All Known Implementing Classes:
JettyServletEngineAdapter
public interface UPRequestHandlerDefines an interface for handling the Prometheus Untrusted Process API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidserviceRequest(com.google.apphosting.base.protos.RuntimePb.UPRequest upRequest, MutableUpResponse upResponse)Executes the HTTP request specified byupRequestand writes the response toupResponse.
-
-
-
Method Detail
-
serviceRequest
void serviceRequest(com.google.apphosting.base.protos.RuntimePb.UPRequest upRequest, MutableUpResponse upResponse) throws javax.servlet.ServletException, IOExceptionExecutes the HTTP request specified byupRequestand writes the response toupResponse.Finds, and if necessary, instantiates and initializes the appropriate servlet, invokes it, and copies the response into
upResponse.- Throws:
IOException- If any error related to the request buffer was detected.javax.servlet.ServletException
-
-