Package org.jboss.jbossts.star.provider
Class HttpResponseMapper
java.lang.Object
org.jboss.jbossts.star.provider.HttpResponseMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<HttpResponseException>
@Provider
public class HttpResponseMapper
extends Object
implements jakarta.ws.rs.ext.ExceptionMapper<HttpResponseException>
Maps an HttpResponseException to the HTTP code embedded in the exception
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
toResponse
(HttpResponseException exception)
-
Constructor Details
-
HttpResponseMapper
public HttpResponseMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponse
in interfacejakarta.ws.rs.ext.ExceptionMapper<HttpResponseException>
-