public class PortletAsyncContextImpl
extends Object
implements javax.portlet.PortletAsyncContext
| Constructor and Description |
|---|
PortletAsyncContextImpl() |
| Modifier and Type | Method and Description |
|---|---|
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(Class<T> listenerClass) |
void |
dispatch() |
void |
dispatch(String path) |
com.liferay.portal.kernel.portlet.async.PortletAsyncScopeManager |
getPortletAsyncScopeManager() |
javax.portlet.ResourceRequest |
getResourceRequest() |
javax.portlet.ResourceResponse |
getResourceResponse() |
long |
getTimeout() |
boolean |
hasOriginalRequestAndResponse() |
protected void |
initialize(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse,
javax.portlet.PortletConfig portletConfig,
javax.servlet.AsyncContext asyncContext,
boolean hasOriginalRequestAndResponse) |
boolean |
isCalledDispatch() |
void |
setReturnedToContainer() |
void |
setTimeout(long timeout) |
void |
start(Runnable runnable) |
public void addListener(javax.portlet.PortletAsyncListener portletAsyncListener)
throws IllegalStateException
addListener in interface javax.portlet.PortletAsyncContextIllegalStateExceptionpublic void addListener(javax.portlet.PortletAsyncListener portletAsyncListener,
javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws IllegalStateException
addListener in interface javax.portlet.PortletAsyncContextIllegalStateExceptionpublic void complete()
throws IllegalStateException
complete in interface javax.portlet.PortletAsyncContextIllegalStateExceptionpublic <T extends javax.portlet.PortletAsyncListener> T createPortletAsyncListener(Class<T> listenerClass)
throws javax.portlet.PortletException
createPortletAsyncListener in interface javax.portlet.PortletAsyncContextjavax.portlet.PortletExceptionpublic void dispatch()
throws IllegalStateException
dispatch in interface javax.portlet.PortletAsyncContextIllegalStateExceptionpublic void dispatch(String path)
throws IllegalStateException
dispatch in interface javax.portlet.PortletAsyncContextIllegalStateExceptionpublic com.liferay.portal.kernel.portlet.async.PortletAsyncScopeManager getPortletAsyncScopeManager()
public javax.portlet.ResourceRequest getResourceRequest()
throws IllegalStateException
getResourceRequest in interface javax.portlet.PortletAsyncContextIllegalStateExceptionpublic javax.portlet.ResourceResponse getResourceResponse()
throws IllegalStateException
getResourceResponse in interface javax.portlet.PortletAsyncContextIllegalStateExceptionpublic long getTimeout()
getTimeout in interface javax.portlet.PortletAsyncContextpublic boolean hasOriginalRequestAndResponse()
hasOriginalRequestAndResponse in interface javax.portlet.PortletAsyncContextpublic boolean isCalledDispatch()
public void setReturnedToContainer()
public void setTimeout(long timeout)
setTimeout in interface javax.portlet.PortletAsyncContextpublic void start(Runnable runnable)
throws IllegalStateException
start in interface javax.portlet.PortletAsyncContextIllegalStateExceptionprotected void initialize(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse,
javax.portlet.PortletConfig portletConfig,
javax.servlet.AsyncContext asyncContext,
boolean hasOriginalRequestAndResponse)