Class MidpointYamlProvider<T>
java.lang.Object
org.apache.cxf.jaxrs.provider.AbstractConfigurableProvider
com.evolveum.midpoint.common.rest.MidpointAbstractProvider<T>
com.evolveum.midpoint.common.rest.MidpointYamlProvider<T>
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<T>
,jakarta.ws.rs.ext.MessageBodyWriter<T>
@Produces({"application/yaml","application/x-yaml","text/yaml","text/x-yaml"})
@Consumes({"application/yaml","application/x-yaml","text/yaml","text/x-yaml"})
@Provider
public class MidpointYamlProvider<T>
extends MidpointAbstractProvider<T>
-
Field Summary
Fields inherited from class com.evolveum.midpoint.common.rest.MidpointAbstractProvider
localizationService, prismContext
Fields inherited from class org.apache.cxf.jaxrs.provider.AbstractConfigurableProvider
BUNDLE, LOG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected PrismParser
getParser
(InputStream entityStream) protected PrismSerializer<String>
Methods inherited from class com.evolveum.midpoint.common.rest.MidpointAbstractProvider
getSize, init, isReadable, isWriteable, readFrom, writeTo
Methods inherited from class org.apache.cxf.jaxrs.provider.AbstractConfigurableProvider
getBus, getConsumeMediaTypes, getEnableBuffering, getEnableStreaming, getProduceMediaTypes, isPayloadEmpty, isPayloadEmpty, reportEmptyContentLength, setBus, setConsumeMediaTypes, setEnableBuffering, setEnableStreaming, setProduceMediaTypes
-
Constructor Details
-
MidpointYamlProvider
public MidpointYamlProvider()
-
-
Method Details
-
getSerializer
- Specified by:
getSerializer
in classMidpointAbstractProvider<T>
-
getParser
- Specified by:
getParser
in classMidpointAbstractProvider<T>
-