Skip navigation links

Jakarta EE Core Profile API v11.0.0
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Fields
  • Methods
  • Constructors
  • Annotation Interface Elements
  • Terminally Deprecated Elements
    Element
    Description
    jakarta.enterprise.inject.spi.BeanManager.getELResolver()
    use ELAwareBeanManager, this method will be removed in CDI 5.0
    jakarta.enterprise.inject.spi.BeanManager.wrapExpressionFactory(ExpressionFactory)
    use ELAwareBeanManager, this method will be removed in CDI 5.0
    jakarta.ws.rs.core.MediaType.APPLICATION_SVG_XML
    since 4.0, use a custom string instead. Will be removed in a future release of this API.
    jakarta.ws.rs.core.MediaType.APPLICATION_SVG_XML_TYPE
    since 4.0, use a custom MediaType instead. Will be removed in a future release of this API.
  • Deprecated Fields
    Field
    Description
    jakarta.ws.rs.core.MediaType.APPLICATION_SVG_XML
    since 4.0, use a custom string instead. Will be removed in a future release of this API.
    jakarta.ws.rs.core.MediaType.APPLICATION_SVG_XML_TYPE
    since 4.0, use a custom MediaType instead. Will be removed in a future release of this API.
  • Deprecated Methods
    Method
    Description
    jakarta.enterprise.inject.spi.BeanManager.getELResolver()
    use ELAwareBeanManager, this method will be removed in CDI 5.0
    jakarta.enterprise.inject.spi.BeanManager.wrapExpressionFactory(ExpressionFactory)
    use ELAwareBeanManager, this method will be removed in CDI 5.0
    jakarta.json.bind.annotation.JsonbProperty.nillable()
    Please use JsonbNillable as another annotation instead. This option will be removed in the future.
    jakarta.ws.rs.core.Application.getSingletons()
    Automatic discovery of resources and providers or the getClasses method is preferred over getSingletons.
    jakarta.ws.rs.core.CacheControl.toString()
    The format of the toString() method is subject to change in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(CacheControl.class).toString(value) instead if you rely on the format of this method.
    jakarta.ws.rs.core.CacheControl.valueOf(String)
    This method will be removed in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(CacheControl.class).fromString(value) instead.
    jakarta.ws.rs.core.Cookie.toString()
    The format of the toString() method is subject to change in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(Cookie.class).toString(value) instead if you rely on the format of this method.
    jakarta.ws.rs.core.Cookie.valueOf(String)
    This method will be removed in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(Cookie.class).fromString(value) instead.
    jakarta.ws.rs.core.EntityTag.toString()
    The format of the toString() method is subject to change in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(EntityTag.class).toString(value) instead if you rely on the format of this method.
    jakarta.ws.rs.core.EntityTag.valueOf(String)
    This method will be removed in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(EntityTag.class).fromString(value) instead.
    jakarta.ws.rs.core.NewCookie.toString()
    The format of the toString() method is subject to change in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(NewCookie.class).toString(value) instead if you rely on the format of this method.
    jakarta.ws.rs.core.NewCookie.valueOf(String)
    This method will be removed in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(NewCookie.class).fromString(value) instead.
  • Deprecated Constructors
    Constructor
    Description
    jakarta.ws.rs.core.Cookie(String, String)
    This constructor will be removed in a future version. Please use Cookie.Builder instead.
    jakarta.ws.rs.core.Cookie(String, String, String, String)
    This constructor will be removed in a future version. Please use Cookie.Builder instead.
    jakarta.ws.rs.core.Cookie(String, String, String, String, int)
    This constructor will be removed in a future version. Please use Cookie.Builder instead.
    jakarta.ws.rs.core.NewCookie(Cookie)
    This constructor will be removed in a future version. Please use NewCookie.Builder instead.
    jakarta.ws.rs.core.NewCookie(Cookie, String, int, boolean)
    This constructor will be removed in a future version. Please use NewCookie.Builder instead.
    jakarta.ws.rs.core.NewCookie(Cookie, String, int, Date, boolean, boolean)
    This constructor will be removed in a future version. Please use NewCookie.Builder instead.
    jakarta.ws.rs.core.NewCookie(Cookie, String, int, Date, boolean, boolean, NewCookie.SameSite)
    This constructor will be removed in a future version. Please use NewCookie.Builder instead.
    jakarta.ws.rs.core.NewCookie(String, String)
    This constructor will be removed in a future version. Please use NewCookie.Builder instead.
    jakarta.ws.rs.core.NewCookie(String, String, String, String, int, String, int, boolean)
    This constructor will be removed in a future version. Please use NewCookie.Builder instead.
    jakarta.ws.rs.core.NewCookie(String, String, String, String, int, String, int, Date, boolean, boolean)
    This constructor will be removed in a future version. Please use NewCookie.Builder instead.
    jakarta.ws.rs.core.NewCookie(String, String, String, String, int, String, int, Date, boolean, boolean, NewCookie.SameSite)
    This constructor will be removed in a future version. Please use NewCookie.Builder instead.
    jakarta.ws.rs.core.NewCookie(String, String, String, String, String, int, boolean)
    This constructor will be removed in a future version. Please use NewCookie.Builder instead.
    jakarta.ws.rs.core.NewCookie(String, String, String, String, String, int, boolean, boolean)
    This constructor will be removed in a future version. Please use NewCookie.Builder instead.
  • Deprecated Annotation Interface Elements
    Annotation Interface Element
    Description
    jakarta.json.bind.annotation.JsonbProperty.nillable()
    Please use JsonbNillable as another annotation instead. This option will be removed in the future.

Copyright © 2018, 2024 Eclipse Foundation.
Use is subject to license terms.