org.jboss.jbossts.star.provider
Class NotFoundMapper
java.lang.Object
org.jboss.jbossts.star.provider.NotFoundMapper
- All Implemented Interfaces:
- javax.ws.rs.ext.ExceptionMapper<ResourceNotFoundException>
@Provider
public class NotFoundMapper
- extends Object
- implements javax.ws.rs.ext.ExceptionMapper<ResourceNotFoundException>
404 mapper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotFoundMapper
public NotFoundMapper()
toResponse
public javax.ws.rs.core.Response toResponse(ResourceNotFoundException exception)
- Specified by:
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<ResourceNotFoundException>
Copyright © 2012. All Rights Reserved.