net.stepniak.api.response.exception.http
Class MethodNotAllowedExceptionMapper

java.lang.Object
  extended by net.stepniak.api.response.exception.BaseExceptionMapper
      extended by net.stepniak.api.response.exception.http.MethodNotAllowedExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<net.stepniak.common.error.http.MethodNotAllowedException>

@Provider
public class MethodNotAllowedExceptionMapper
extends BaseExceptionMapper
implements javax.ws.rs.ext.ExceptionMapper<net.stepniak.common.error.http.MethodNotAllowedException>


Constructor Summary
MethodNotAllowedExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(net.stepniak.common.error.http.MethodNotAllowedException exception)
           
 
Methods inherited from class net.stepniak.api.response.exception.BaseExceptionMapper
getJsonMapper, getLogMessage, prepareInternalErrorResponse, prepareResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodNotAllowedExceptionMapper

public MethodNotAllowedExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(net.stepniak.common.error.http.MethodNotAllowedException exception)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<net.stepniak.common.error.http.MethodNotAllowedException>


Copyright © 2013. All Rights Reserved.