C D G I R T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- configure(Map<String, String>) - Method in interface io.dropwizard.views.common.ViewRenderer
-
options for configuring the view renderer
D
- detectLocale(HttpHeaders) - Method in class io.dropwizard.views.common.ViewMessageBodyWriter
G
- getCharset() - Method in class io.dropwizard.views.common.View
-
Returns the character set of the template.
- getConfigurationKey() - Method in interface io.dropwizard.views.common.ViewRenderer
- getSize(View, Class<?>, Type, Annotation[], MediaType) - Method in class io.dropwizard.views.common.ViewMessageBodyWriter
- getTemplateName() - Method in class io.dropwizard.views.common.View
-
Returns the template name.
- getViewConfiguration(T) - Method in class io.dropwizard.views.common.ViewBundle
- getViewConfiguration(T) - Method in interface io.dropwizard.views.common.ViewConfigurable
I
- io.dropwizard.views.common - package io.dropwizard.views.common
- isMappable(WebApplicationException) - Method in class io.dropwizard.views.common.ViewRenderExceptionMapper
- isRenderable(View) - Method in interface io.dropwizard.views.common.ViewRenderer
-
Returns
true
if the renderer can render the givenView
. - isWriteable(Class<?>, Type, Annotation[], MediaType) - Method in class io.dropwizard.views.common.ViewMessageBodyWriter
R
- render(View, Locale, OutputStream) - Method in interface io.dropwizard.views.common.ViewRenderer
- run(T, Environment) - Method in class io.dropwizard.views.common.ViewBundle
T
- TEMPLATE_ERROR_MSG - Static variable in class io.dropwizard.views.common.ViewRenderExceptionMapper
-
The generic HTML error page template.
- toResponse(WebApplicationException) - Method in class io.dropwizard.views.common.ViewRenderExceptionMapper
V
- View - Class in io.dropwizard.views.common
-
A Dropwizard view class.
- View(String) - Constructor for class io.dropwizard.views.common.View
-
Creates a new view.
- View(String, Charset) - Constructor for class io.dropwizard.views.common.View
-
Creates a new view.
- ViewBundle<T> - Class in io.dropwizard.views.common
-
A
ConfiguredBundle
, which by default, enables the rendering of FreeMarker & Mustache views by your application. - ViewBundle() - Constructor for class io.dropwizard.views.common.ViewBundle
- ViewBundle(Iterable<ViewRenderer>) - Constructor for class io.dropwizard.views.common.ViewBundle
- ViewConfigurable<T> - Interface in io.dropwizard.views.common
- ViewMessageBodyWriter - Class in io.dropwizard.views.common
- ViewMessageBodyWriter(MetricRegistry, Iterable<ViewRenderer>) - Constructor for class io.dropwizard.views.common.ViewMessageBodyWriter
- ViewRenderer - Interface in io.dropwizard.views.common
-
The rendering engine for a type of view.
- ViewRenderException - Exception in io.dropwizard.views.common
-
Signals that an error occurred during the rendering of a view.
- ViewRenderException(String) - Constructor for exception io.dropwizard.views.common.ViewRenderException
-
Constructs a
ViewRenderException
with the specified detail message. - ViewRenderException(String, Throwable) - Constructor for exception io.dropwizard.views.common.ViewRenderException
-
Constructs an
ViewRenderException
with the specified detail message and cause. - ViewRenderException(Throwable) - Constructor for exception io.dropwizard.views.common.ViewRenderException
-
Constructs an
ViewRenderException
with the specified cause and a detail message of(cause==null ? null : cause.toString())
(which typically contains the class and detail message ofcause
). - ViewRenderExceptionMapper - Class in io.dropwizard.views.common
-
An
ExtendedExceptionMapper
that returns a 500 error response with a generic HTML error page when aViewRenderException
is the cause. - ViewRenderExceptionMapper() - Constructor for class io.dropwizard.views.common.ViewRenderExceptionMapper
W
- writeTo(View, Class<?>, Type, Annotation[], MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in class io.dropwizard.views.common.ViewMessageBodyWriter
All Classes All Packages