Class TemplateAnnotationFilter

java.lang.Object
ru.vyarus.guicey.gsp.app.rest.support.TemplateAnnotationFilter
All Implemented Interfaces:
jakarta.ws.rs.container.ContainerRequestFilter

@Singleton @Provider public class TemplateAnnotationFilter extends Object implements jakarta.ws.rs.container.ContainerRequestFilter
Request filter for Template annotated resources read configured template path (to be used in model). Record matched resource class so relative templates could be checked relative to class even when template path is specified directly into model.
Since:
03.12.2018
  • Constructor Details

    • TemplateAnnotationFilter

      public TemplateAnnotationFilter()
  • Method Details

    • filter

      public void filter(jakarta.ws.rs.container.ContainerRequestContext requestContext) throws IOException
      Specified by:
      filter in interface jakarta.ws.rs.container.ContainerRequestFilter
      Throws:
      IOException