Java Reference
In-Depth Information
Figure 12-17. Generated JAX-RS 2.0 Filter File
To create a JAX-RS 2.0 Interceptor using the NetBeans wizard, follow these steps:
Right-click on a project directory, or select File “New File” from the NetBeans File menu
to open the “New File” dialog.
Select “Web Services” from the Categories select box, and then select “JAX-RS 2.0
Interceptor” from the “File Types” select box.
When the “New JAX-RS 2.0 Interceptor” dialog opens, choose the type of interceptor
you wish to create (ReaderInterceptor or WriterInterceptor), and specify file name and
location, as seen in Figure 12-18 .
Search WWH ::

Custom Search