public class InternalAssetServlet
extends io.dropwizard.servlets.assets.AssetServlet
| Constructor and Description |
|---|
InternalAssetServlet(WebConfiguration configuration,
ContextFactory contextFactory,
RequestLanguage requestLanguage,
io.dropwizard.setup.Environment environment) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
com.github.jknack.handlebars.Handlebars |
getHandlebars() |
protected URL |
getResourceUrl(String absoluteRequestedResourcePath) |
protected String |
pathFromRequest(javax.servlet.http.HttpServletRequest request) |
getIndexFile, getResourceURL, getUriPath, readResourcedoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic InternalAssetServlet(WebConfiguration configuration, ContextFactory contextFactory, RequestLanguage requestLanguage, io.dropwizard.setup.Environment environment)
public com.github.jknack.handlebars.Handlebars getHandlebars()
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doGet in class io.dropwizard.servlets.assets.AssetServletjavax.servlet.ServletExceptionIOExceptionprotected String pathFromRequest(javax.servlet.http.HttpServletRequest request)
Copyright © 2014–2017 Soabase. All rights reserved.