Package jenkins.util
Class FullDuplexHttpService.Response
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.kohsuke.stapler.HttpResponses.HttpResponseException
jenkins.util.FullDuplexHttpService.Response
- All Implemented Interfaces:
Serializable,org.kohsuke.stapler.HttpResponse
- Enclosing class:
- FullDuplexHttpService
public abstract static class FullDuplexHttpService.Response
extends org.kohsuke.stapler.HttpResponses.HttpResponseException
HTTP response that allows a client to use this service.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract FullDuplexHttpServicecreateService(org.kohsuke.stapler.StaplerRequest req, UUID uuid) voidgenerateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Response
- Parameters:
services- a cross-request cache of services, to correlate the upload and download connections
-
-
Method Details
-
generateResponse
public void generateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node) throws IOException, javax.servlet.ServletException - Throws:
IOExceptionjavax.servlet.ServletException
-
createService
protected abstract FullDuplexHttpService createService(org.kohsuke.stapler.StaplerRequest req, UUID uuid) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-