# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Methods

- Deprecated Classes
  Class and Description
  org.apache.struts2.rest.handler.JsonLibHandler Use `JacksonLibHandler` instead

- Deprecated Methods
  Method and Description
  org.apache.struts2.rest.handler.XStreamHandler.createXStream() use version with `ActionInvocation`
  org.apache.struts2.rest.handler.ContentTypeHandler.fromObject(Object, String, Writer) use version which requires `ActionInvocation`
  org.apache.struts2.rest.ContentTypeHandlerManager.handleResult(ActionConfig, Object, Object) use version which requires `ActionInvocation`
  org.apache.struts2.rest.handler.ContentTypeHandler.toObject(Reader, Object) use version which requires `ActionInvocation`

Copyright © 2000–2019 Apache Software Foundation. All rights reserved.