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.StaplerRequest2 req, UUID uuid) voidgenerateResponse(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object node) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kohsuke.stapler.HttpResponse
generateResponse
-
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.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object node) throws IOException, jakarta.servlet.ServletException - Throws:
IOExceptionjakarta.servlet.ServletException
-
createService
protected abstract FullDuplexHttpService createService(org.kohsuke.stapler.StaplerRequest2 req, UUID uuid) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-