Class TemplateAnnotationFilter

  • All Implemented Interfaces:
    jakarta.ws.rs.container.ContainerRequestFilter

    @Singleton
    @Provider
    public class TemplateAnnotationFilter
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void filter​(jakarta.ws.rs.container.ContainerRequestContext requestContext)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TemplateAnnotationFilter

        public TemplateAnnotationFilter()
    • Method Detail

      • filter

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