Class NotFoundProvider

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.NotFoundException>

    @Provider
    public class NotFoundProvider
    extends java.lang.Object
    implements javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.NotFoundException>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response toResponse​(javax.ws.rs.NotFoundException exception)  
      • Methods inherited from class java.lang.Object

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

      • NotFoundProvider

        public NotFoundProvider()
    • Method Detail

      • toResponse

        public javax.ws.rs.core.Response toResponse​(javax.ws.rs.NotFoundException exception)
        Specified by:
        toResponse in interface javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.NotFoundException>