Package org.opengis.cite.ogcapifeatures10

# Class ReusableEntityFilter

java.lang.Object
org.opengis.cite.ogcapifeatures10.ReusableEntityFilter

All Implemented Interfaces:
  `jakarta.ws.rs.client.ClientResponseFilter`

public class ReusableEntityFilter extends Object implements jakarta.ws.rs.client.ClientResponseFilter
Buffers the (response) entity so it can be read multiple times.

WARNING: The entity InputStream must be reset after each read attempt.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ReusableEntityFilter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `filter(jakarta.ws.rs.client.ClientRequestContext requestContext, jakarta.ws.rs.client.ClientResponseContext responseContext)`

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

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

- ## Constructor Details

  - ### ReusableEntityFilter

    public ReusableEntityFilter()

- ## Method Details

  - ### filter

    public void filter(jakarta.ws.rs.client.ClientRequestContext requestContext, jakarta.ws.rs.client.ClientResponseContext responseContext) throws IOException
    Specified by:
      `filter` in interface `jakarta.ws.rs.client.ClientResponseFilter`
    Throws:
      `IOException`