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

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

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


Constructor Summary
HttpsRequiredExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(net.stepniak.common.error.http.HttpsRequiredException 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

HttpsRequiredExceptionMapper

public HttpsRequiredExceptionMapper()
Method Detail

toResponse

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


Copyright © 2013. All Rights Reserved.