Class BlockingWebResponse
java.lang.Object
services.moleculer.web.servlet.response.AbstractWebResponse
services.moleculer.web.servlet.response.BlockingWebResponse
- All Implemented Interfaces:
WebResponse
-
Field Summary
Fields inherited from class AbstractWebResponse
closed, out, properties, rsp -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractWebResponse
getHeader, getInternalObject, getProperty, getStatus, send, setHeader, setProperty, setStatus
-
Constructor Details
-
BlockingWebResponse
- Throws:
IOException
-
-
Method Details
-
waitFor
- Throws:
TimeoutExceptionInterruptedException
-
end
public boolean end()Completes the synchronous operation that was started on the request.- Specified by:
endin interfaceWebResponse- Overrides:
endin classAbstractWebResponse- Returns:
- return true, if any resources are released
-