public abstract class AbstractResponseContext extends Object implements ResponseContext
| Constructor and Description |
|---|
AbstractResponseContext() |
AbstractResponseContext(Headers headers) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
completed()
Test response has completed.
|
void |
ensure()
Ensure response has completed.
|
Headers |
getResponseHeaders()
Obtain response headers.
|
protected int |
getStatus() |
void |
setStatus(int status)
Set HTTP status code.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcommitpublic AbstractResponseContext()
public AbstractResponseContext(Headers headers)
public Headers getResponseHeaders()
ResponseContextgetResponseHeaders in interface ResponseContextprotected int getStatus()
public void setStatus(int status)
ResponseContextsetStatus in interface ResponseContextstatus - HTTP status codepublic boolean completed()
ResponseContextcompleted in interface ResponseContextpublic void ensure()
ResponseContextensure in interface ResponseContextCopyright © 2011-2017 Analog Web Framework Development Team. All Rights Reserved.