public class PortletAsyncContextImpl
extends java.lang.Object
implements com.liferay.portal.kernel.portlet.LiferayPortletAsyncContext
| Constructor and Description |
|---|
PortletAsyncContextImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(javax.servlet.AsyncListener asyncListener) |
void |
addListener(javax.portlet.PortletAsyncListener portletAsyncListener) |
void |
addListener(javax.portlet.PortletAsyncListener portletAsyncListener,
javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
void |
complete() |
<T extends javax.portlet.PortletAsyncListener> |
createPortletAsyncListener(java.lang.Class<T> listenerClass) |
void |
dispatch() |
void |
dispatch(java.lang.String path) |
void |
doStart() |
javax.portlet.ResourceRequest |
getResourceRequest() |
javax.portlet.ResourceResponse |
getResourceResponse() |
long |
getTimeout() |
boolean |
hasOriginalRequestAndResponse() |
boolean |
isCalledDispatch() |
void |
removeListener(javax.servlet.AsyncListener asyncListener) |
void |
reset(javax.servlet.AsyncContext asyncContext) |
void |
setTimeout(long timeout) |
void |
start(java.lang.Runnable runnable) |
public void addListener(javax.servlet.AsyncListener asyncListener)
addListener in interface com.liferay.portal.kernel.portlet.LiferayPortletAsyncContextpublic void addListener(javax.portlet.PortletAsyncListener portletAsyncListener)
throws java.lang.IllegalStateException
addListener in interface javax.portlet.PortletAsyncContextjava.lang.IllegalStateExceptionpublic void addListener(javax.portlet.PortletAsyncListener portletAsyncListener,
javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws java.lang.IllegalStateException
addListener in interface javax.portlet.PortletAsyncContextjava.lang.IllegalStateExceptionpublic void complete()
throws java.lang.IllegalStateException
complete in interface javax.portlet.PortletAsyncContextjava.lang.IllegalStateExceptionpublic <T extends javax.portlet.PortletAsyncListener> T createPortletAsyncListener(java.lang.Class<T> listenerClass)
throws javax.portlet.PortletException
createPortletAsyncListener in interface javax.portlet.PortletAsyncContextjavax.portlet.PortletExceptionpublic void dispatch()
throws java.lang.IllegalStateException
dispatch in interface javax.portlet.PortletAsyncContextjava.lang.IllegalStateExceptionpublic void dispatch(java.lang.String path)
throws java.lang.IllegalStateException
dispatch in interface javax.portlet.PortletAsyncContextjava.lang.IllegalStateExceptionpublic void doStart()
doStart in interface com.liferay.portal.kernel.portlet.LiferayPortletAsyncContextpublic javax.portlet.ResourceRequest getResourceRequest()
throws java.lang.IllegalStateException
getResourceRequest in interface javax.portlet.PortletAsyncContextjava.lang.IllegalStateExceptionpublic javax.portlet.ResourceResponse getResourceResponse()
throws java.lang.IllegalStateException
getResourceResponse in interface javax.portlet.PortletAsyncContextjava.lang.IllegalStateExceptionpublic long getTimeout()
getTimeout in interface javax.portlet.PortletAsyncContextpublic boolean hasOriginalRequestAndResponse()
hasOriginalRequestAndResponse in interface javax.portlet.PortletAsyncContextpublic boolean isCalledDispatch()
isCalledDispatch in interface com.liferay.portal.kernel.portlet.LiferayPortletAsyncContextpublic void removeListener(javax.servlet.AsyncListener asyncListener)
removeListener in interface com.liferay.portal.kernel.portlet.LiferayPortletAsyncContextpublic void reset(javax.servlet.AsyncContext asyncContext)
reset in interface com.liferay.portal.kernel.portlet.LiferayPortletAsyncContextpublic void setTimeout(long timeout)
setTimeout in interface javax.portlet.PortletAsyncContextpublic void start(java.lang.Runnable runnable)
throws java.lang.IllegalStateException
start in interface javax.portlet.PortletAsyncContextjava.lang.IllegalStateException