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
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract FullDuplexHttpService
createService
(org.kohsuke.stapler.StaplerRequest2 req, UUID uuid) void
generateResponse
(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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
IOException
jakarta.servlet.ServletException
-
createService
protected abstract FullDuplexHttpService createService(org.kohsuke.stapler.StaplerRequest2 req, UUID uuid) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-