|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.springframework.web.servlet.HttpServletBean
org.springframework.js.resource.ResourceServlet
public class ResourceServlet
Special resource servlet for efficiently resolving and rendering static resources from within a JAR file.
| Field Summary |
|---|
| Fields inherited from class org.springframework.web.servlet.HttpServletBean |
|---|
logger |
| Constructor Summary | |
|---|---|
ResourceServlet()
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated. |
protected long |
getLastModified(javax.servlet.http.HttpServletRequest request)
Deprecated. |
void |
setAllowedResourcePaths(java.lang.String allowedResourcePaths)
Deprecated. Set allowed resources as an comma separated String of URL patterns, e.g. |
void |
setCacheTimeout(int cacheTimeout)
Deprecated. Set the number of seconds resources should be cached by the client. |
void |
setCompressedMimeTypes(java.lang.String compressedMimeTypes)
Deprecated. Set comma separated MIME types that should have gzip compression applied. |
void |
setGzipEnabled(boolean gzipEnabled)
Deprecated. Set whether to apply gzip compression to resources if the requesting client supports it. |
void |
setJarPathPrefix(java.lang.String jarPathPrefix)
Deprecated. Set the default path prefix to apply to resources being served from jar files. |
| Methods inherited from class org.springframework.web.servlet.HttpServletBean |
|---|
addRequiredProperty, createEnvironment, getEnvironment, getServletContext, getServletName, init, initBeanWrapper, initServletBean, setEnvironment |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPost, doPut, doTrace, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceServlet()
| Method Detail |
|---|
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletException
java.io.IOExceptionprotected long getLastModified(javax.servlet.http.HttpServletRequest request)
getLastModified in class javax.servlet.http.HttpServletpublic void setGzipEnabled(boolean gzipEnabled)
public void setAllowedResourcePaths(java.lang.String allowedResourcePaths)
AntPathMatcherpublic void setCompressedMimeTypes(java.lang.String compressedMimeTypes)
AntPathMatcherpublic void setJarPathPrefix(java.lang.String jarPathPrefix)
public void setCacheTimeout(int cacheTimeout)
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||