public class PropertyBoxReaderInterceptor extends Object implements javax.ws.rs.ext.ReaderInterceptor
ReaderInterceptor to handle client REST requests which involve PropertyBox unmarshalling.
Every interceptor instance must know the PropertySet to use to deserialize PropertyBox instances, so the
property set is given at construction time.
| Constructor and Description |
|---|
PropertyBoxReaderInterceptor(com.holonplatform.core.property.PropertySet<?> propertySet)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) |
public PropertyBoxReaderInterceptor(com.holonplatform.core.property.PropertySet<?> propertySet)
propertySet - PropertySet to use to deserialize PropertyContext instancespublic Object aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) throws IOException, javax.ws.rs.WebApplicationException
aroundReadFrom in interface javax.ws.rs.ext.ReaderInterceptorIOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2019 The Holon Platform. All rights reserved.