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