com.holonplatform.jaxrs.client.internal

## Class PropertyBoxReaderInterceptor

- java.lang.Object
- - com.holonplatform.jaxrs.client.internal.PropertyBoxReaderInterceptor

- All Implemented Interfaces:
    javax.ws.rs.ext.ReaderInterceptor

      public class PropertyBoxReaderInterceptor
      extends Object
      implements javax.ws.rs.ext.ReaderInterceptor

  JAX-RS `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.

  Since:
    5.0.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PropertyBoxReaderInterceptor(com.holonplatform.core.property.PropertySet<?> propertySet)` Constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PropertyBoxReaderInterceptor

          public PropertyBoxReaderInterceptor(com.holonplatform.core.property.PropertySet<?> propertySet)

      Constructor
      Parameters:
        `propertySet` - PropertySet to use to deserialize PropertyContext instances

  - ### Method Detail

    - #### aroundReadFrom

          public Object aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context)
                                throws IOException,
                                       javax.ws.rs.WebApplicationException

      Specified by:
        `aroundReadFrom` in interface `javax.ws.rs.ext.ReaderInterceptor`
      Throws:
        `IOException`
        `javax.ws.rs.WebApplicationException`

Copyright © 2019 The Holon Platform. All rights reserved.