# Deprecated API

## Contents

- Deprecated Methods

- 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–2022 Apache Software Foundation. All rights reserved.