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:
javax.ws.rs.ext.MessageBodyReader<T>
,javax.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
-
-
Constructor Summary
Constructors Constructor Description MidpointYamlProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PrismParser
getParser(InputStream entityStream)
protected PrismSerializer<String>
getSerializer()
-
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
-
-
-
-
Method Detail
-
getSerializer
protected PrismSerializer<String> getSerializer()
- Specified by:
getSerializer
in classMidpointAbstractProvider<T>
-
getParser
protected PrismParser getParser(InputStream entityStream)
- Specified by:
getParser
in classMidpointAbstractProvider<T>
-
-