Class ContentTypeHandler
java.lang.Object
ee.jakarta.tck.ws.rs.common.webclient.handler.ContentTypeHandler
- All Implemented Interfaces:
Handler
When invoked, the content-type header will be appropriately handled. It allows flexible checking of control values against the response which could be in the form of: content-type; charset -or- conent-type
-
Method Details
-
getInstance
Returns an instance of this handler. -
invoke
public boolean invoke(org.apache.commons.httpclient.Header configuredHeader, org.apache.commons.httpclient.Header responseHeader) Invokes handler logic.
-