public abstract class AbstractController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected COM.FutureTense.Interfaces.ICS |
ics
Deprecated.
|
protected static org.slf4j.Logger |
LOG
Deprecated.
|
static String |
STATUS_HEADER
Deprecated.
|
| Constructor and Description |
|---|
AbstractController(COM.FutureTense.Interfaces.ICS ics)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doExecute()
Deprecated.
Executes the core business logic of the controller.
|
protected abstract void |
handleException(Exception e)
Deprecated.
Handles the exception, doing what is required
|
protected String |
sendError(int code,
Exception e)
Deprecated.
Sends the http status code to the user-agent.
|
protected static final org.slf4j.Logger LOG
public static final String STATUS_HEADER
protected final COM.FutureTense.Interfaces.ICS ics
public AbstractController(COM.FutureTense.Interfaces.ICS ics)
ics - Content Server context objectprotected final String sendError(int code, Exception e)
code - the http response codee - the exceptionprotected abstract void doExecute()
CSRuntimeException - may throw a CSRuntimeException which is
handled by handleCSRuntimeExceptionprotected abstract void handleException(Exception e)
e - exceptionCopyright © 2010–2017. All rights reserved.