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:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Response(Map<UUID,FullDuplexHttpService> services)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract FullDuplexHttpService
createService(org.kohsuke.stapler.StaplerRequest req, UUID uuid)
void
generateResponse(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 Detail
-
Response
protected Response(Map<UUID,FullDuplexHttpService> services)
- Parameters:
services
- a cross-request cache of services, to correlate the upload and download connections
-
-
Method Detail
-
generateResponse
public void generateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
createService
protected abstract FullDuplexHttpService createService(org.kohsuke.stapler.StaplerRequest req, UUID uuid) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
-