public abstract class CCServletBase
extends HttpServlet
| Constructor and Description |
|---|
CCServletBase() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkIfToInitializeCCEnvironment() |
void |
init() |
protected java.lang.String |
proposeContentType(java.lang.String extension)
Proposes content type dependent from extension.
|
protected void |
setContentType(java.lang.String uri,
HttpServletResponse resp)
Automatically derives content type from uri-extension and sets
the content type in the repsone.
|
protected void |
setContentTypeInResponse(java.lang.String contentType,
HttpServletResponse resp)
Setting of content type in response.
|
public void init()
throws ServletException
ServletExceptionprotected boolean checkIfToInitializeCCEnvironment()
protected void setContentType(java.lang.String uri,
HttpServletResponse resp)
uri - resp - protected void setContentTypeInResponse(java.lang.String contentType,
HttpServletResponse resp)
resp - contentType - protected java.lang.String proposeContentType(java.lang.String extension)
extension - Copyright © CaptainCasa Gmbh. All Rights Reserved.