Package org.opengis.cite.eogeojson10
Class ReusableEntityFilter
java.lang.Object
org.opengis.cite.eogeojson10.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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
filter
(jakarta.ws.rs.client.ClientRequestContext requestContext, jakarta.ws.rs.client.ClientResponseContext responseContext)
-
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 interfacejakarta.ws.rs.client.ClientResponseFilter
- Throws:
IOException
-