Class MidpointJsonProvider<T>
- java.lang.Object
-
- org.apache.cxf.jaxrs.provider.AbstractConfigurableProvider
-
- com.evolveum.midpoint.common.rest.MidpointAbstractProvider<T>
-
- com.evolveum.midpoint.common.rest.MidpointJsonProvider<T>
-
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<T>
,javax.ws.rs.ext.MessageBodyWriter<T>
@Produces("application/json") @Consumes("application/json") @Provider public class MidpointJsonProvider<T> extends MidpointAbstractProvider<T>
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.common.rest.MidpointAbstractProvider
localizationService, prismContext
-
-
Constructor Summary
Constructors Constructor Description MidpointJsonProvider()
-
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>
-
-