com.fasterxml.jackson.jaxrs.base.nocontent.JaxRS2NoContentExceptionSupplier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ehcache Show documentation
Show all versions of ehcache Show documentation
Ehcache is an open source, standards-based cache used to boost performance,
offload the database and simplify scalability. Ehcache is robust, proven and full-featured and
this has made it the most widely-used Java-based cache.
package com.fasterxml.jackson.jaxrs.base.nocontent;
import com.fasterxml.jackson.jaxrs.base.NoContentExceptionSupplier;
import javax.ws.rs.core.NoContentException;
import java.io.IOException;
/**
* This supplier creates fair NoContentException from JaxRS 2.x
*/
public class JaxRS2NoContentExceptionSupplier implements NoContentExceptionSupplier {
@Override
public IOException createNoContentException() {
return new NoContentException(NoContentExceptionSupplier.NO_CONTENT_MESSAGE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy