org.jboss.jbossts.star.provider
Class NotFoundMapper

java.lang.Object
  extended by 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


Constructor Summary
NotFoundMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(ResourceNotFoundException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotFoundMapper

public NotFoundMapper()
Method Detail

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.