net.stepniak.api.response.exception.http
Class UnsupportedMediaTypeExceptionMapper
java.lang.Object
net.stepniak.api.response.exception.BaseExceptionMapper
net.stepniak.api.response.exception.http.UnsupportedMediaTypeExceptionMapper
- All Implemented Interfaces:
- javax.ws.rs.ext.ExceptionMapper<net.stepniak.common.error.http.UnsupportedMediaTypeException>
@Provider
public class UnsupportedMediaTypeExceptionMapper
- extends BaseExceptionMapper
- implements javax.ws.rs.ext.ExceptionMapper<net.stepniak.common.error.http.UnsupportedMediaTypeException>
|
Method Summary |
javax.ws.rs.core.Response |
toResponse(net.stepniak.common.error.http.UnsupportedMediaTypeException exception)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnsupportedMediaTypeExceptionMapper
public UnsupportedMediaTypeExceptionMapper()
toResponse
public javax.ws.rs.core.Response toResponse(net.stepniak.common.error.http.UnsupportedMediaTypeException exception)
- Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<net.stepniak.common.error.http.UnsupportedMediaTypeException>
Copyright © 2013. All Rights Reserved.