Class IOExceptionMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<java.io.IOException>

    @Provider
    @Component
    public class IOExceptionMapper
    extends java.lang.Object
    implements javax.ws.rs.ext.ExceptionMapper<java.io.IOException>
    • Constructor Summary

      Constructors 
      Constructor Description
      IOExceptionMapper​(com.xebialabs.deployit.ServerConfiguration serverConfiguration)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response toResponse​(java.io.IOException exception)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IOExceptionMapper

        public IOExceptionMapper​(com.xebialabs.deployit.ServerConfiguration serverConfiguration)
    • Method Detail

      • toResponse

        public javax.ws.rs.core.Response toResponse​(java.io.IOException exception)
        Specified by:
        toResponse in interface javax.ws.rs.ext.ExceptionMapper<java.io.IOException>