Package com.atomgraph.server.mapper
Class NotSupportedExceptionMapper
java.lang.Object
com.atomgraph.server.mapper.ExceptionMapperBase
com.atomgraph.server.mapper.NotSupportedExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.NotSupportedException>
public class NotSupportedExceptionMapper
extends ExceptionMapperBase
implements javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.NotSupportedException>
- Author:
- Martynas Jusevičius <martynas@atomgraph.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsetoResponse(javax.ws.rs.NotSupportedException ex) Methods inherited from class com.atomgraph.server.mapper.ExceptionMapperBase
getEncodings, getLanguages, getMediaTypes, getRequest, getResponseBuilder, getUriInfo, getVariants, getVariants, getWritableMediaTypes, toResource
-
Constructor Details
-
NotSupportedExceptionMapper
@Inject public NotSupportedExceptionMapper(com.atomgraph.core.MediaTypes mediaTypes)
-
-
Method Details
-
toResponse
public javax.ws.rs.core.Response toResponse(javax.ws.rs.NotSupportedException ex) - Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<javax.ws.rs.NotSupportedException>
-