Package io.dropwizard.views.common
Class View
- java.lang.Object
-
- io.dropwizard.views.common.View
-
- Direct Known Subclasses:
PersonView
public abstract class View extends Object
A Dropwizard view class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Charset>getCharset()Returns the character set of the template.StringgetTemplateName()Returns the template name.
-
-
-
Constructor Detail
-
View
protected View(String templateName)
Creates a new view.- Parameters:
templateName- the name of the template resource
-
-