public class PortletAsyncContextImpl
extends 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(Class<T> listenerClass) |
void |
dispatch() |
void |
dispatch(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(Runnable runnable) |
public void addListener(javax.servlet.AsyncListener asyncListener)
addListener
in interface com.liferay.portal.kernel.portlet.LiferayPortletAsyncContext
public void addListener(javax.portlet.PortletAsyncListener portletAsyncListener) throws IllegalStateException
addListener
in interface javax.portlet.PortletAsyncContext
IllegalStateException
public void addListener(javax.portlet.PortletAsyncListener portletAsyncListener, javax.portlet.ResourceRequest resourceRequest, javax.portlet.ResourceResponse resourceResponse) throws IllegalStateException
addListener
in interface javax.portlet.PortletAsyncContext
IllegalStateException
public void complete() throws IllegalStateException
complete
in interface javax.portlet.PortletAsyncContext
IllegalStateException
public <T extends javax.portlet.PortletAsyncListener> T createPortletAsyncListener(Class<T> listenerClass) throws javax.portlet.PortletException
createPortletAsyncListener
in interface javax.portlet.PortletAsyncContext
javax.portlet.PortletException
public void dispatch() throws IllegalStateException
dispatch
in interface javax.portlet.PortletAsyncContext
IllegalStateException
public void dispatch(String path) throws IllegalStateException
dispatch
in interface javax.portlet.PortletAsyncContext
IllegalStateException
public void doStart()
doStart
in interface com.liferay.portal.kernel.portlet.LiferayPortletAsyncContext
public javax.portlet.ResourceRequest getResourceRequest() throws IllegalStateException
getResourceRequest
in interface javax.portlet.PortletAsyncContext
IllegalStateException
public javax.portlet.ResourceResponse getResourceResponse() throws IllegalStateException
getResourceResponse
in interface javax.portlet.PortletAsyncContext
IllegalStateException
public long getTimeout()
getTimeout
in interface javax.portlet.PortletAsyncContext
public boolean hasOriginalRequestAndResponse()
hasOriginalRequestAndResponse
in interface javax.portlet.PortletAsyncContext
public boolean isCalledDispatch()
isCalledDispatch
in interface com.liferay.portal.kernel.portlet.LiferayPortletAsyncContext
public void removeListener(javax.servlet.AsyncListener asyncListener)
removeListener
in interface com.liferay.portal.kernel.portlet.LiferayPortletAsyncContext
public void reset(javax.servlet.AsyncContext asyncContext)
reset
in interface com.liferay.portal.kernel.portlet.LiferayPortletAsyncContext
public void setTimeout(long timeout)
setTimeout
in interface javax.portlet.PortletAsyncContext
public void start(Runnable runnable) throws IllegalStateException
start
in interface javax.portlet.PortletAsyncContext
IllegalStateException