public class HttpChannelState extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpChannelState.Action
The actions to take as the channel moves from state to state.
|
static class |
HttpChannelState.Async
The state of the servlet async API.
|
static class |
HttpChannelState.State
The dispatched state of the HttpChannel, used to control the overall livecycle
|
Modifier | Constructor and Description |
---|---|
protected |
HttpChannelState(HttpChannel<?> channel) |
protected HttpChannelState(HttpChannel<?> channel)
public HttpChannelState.State getState()
public void addListener(AsyncListener listener)
public void setTimeout(long ms)
public long getTimeout()
public AsyncContextEvent getAsyncContextEvent()
public String getStatusString()
protected HttpChannelState.Action handling()
public void startAsync(AsyncContextEvent event)
protected void error(Throwable th)
protected HttpChannelState.Action unhandle()
public void dispatch(ServletContext context, String path)
protected void expired()
public void complete()
public void errorComplete()
protected void completed()
protected void recycle()
public void upgrade()
protected void scheduleDispatch()
protected void scheduleTimeout()
protected void cancelTimeout()
public boolean isExpired()
public boolean isInitial()
public boolean isSuspended()
public boolean isAsyncStarted()
public boolean isAsync()
public Request getBaseRequest()
public HttpChannel<?> getHttpChannel()
public ContextHandler getContextHandler()
public ServletResponse getServletResponse()
public void removeAttribute(String name)
public void onReadPossible()
public void onWritePossible()
Copyright © 1995-2017 Webtide. All Rights Reserved.