@Provider public class JAXRSBeanValidationOutInterceptor extends BeanValidationOutInterceptor implements javax.ws.rs.container.ContainerResponseFilter
BUNDLE, LOG
Constructor and Description |
---|
JAXRSBeanValidationOutInterceptor() |
JAXRSBeanValidationOutInterceptor(String phase) |
Modifier and Type | Method and Description |
---|---|
void |
filter(javax.ws.rs.container.ContainerRequestContext in,
javax.ws.rs.container.ContainerResponseContext out) |
protected Object |
getServiceObject(Message message) |
void |
setSupportMultipleValidations(boolean supportMultipleValidations) |
protected Object |
unwrapEntity(Object entity) |
getOutProvider, handleValidation, isEnforceOnlyBeanConstraints, setEnforceOnlyBeanConstraints
close, getProvider, getServiceMethod, handleMessage, setProvider, setServiceObject
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
public JAXRSBeanValidationOutInterceptor()
public JAXRSBeanValidationOutInterceptor(String phase)
protected Object getServiceObject(Message message)
getServiceObject
in class AbstractValidationInterceptor
protected Object unwrapEntity(Object entity)
unwrapEntity
in class BeanValidationOutInterceptor
public void filter(javax.ws.rs.container.ContainerRequestContext in, javax.ws.rs.container.ContainerResponseContext out) throws IOException
filter
in interface javax.ws.rs.container.ContainerResponseFilter
IOException
public void setSupportMultipleValidations(boolean supportMultipleValidations)
Apache CXF