Top Deprecated
EE4J Core API 10.0.0

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
jakarta.annotation.ManagedBean

This will be removed post Jakarta EE 10 and should be replaced with CDI beans

2.1

Returns:

True if field with null value should be serialized as key/value pair into JSON with null value.
jakarta.json.bind.annotation.JsonbProperty.nillable
()

Please use JsonbNillable as another annotation instead. This option will be removed in the future.

Returns:

a set of root resource and provider instances. Returning null is equivalent to returning an empty set.
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.HEADER_DELEGATE

This field will be removed in a future version. See https://github.com/eclipse-ee4j/jaxrs-api/issues/607

Returns:

a stringified cache control
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.

Returns:

the newly created CacheControl
jakarta.ws.rs.core.CacheControl.valueOf
(final String
the cache control string
value
)

This method will be removed in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(CacheControl.class).fromString(value) instead.

jakarta.ws.rs.core.Cookie.HEADER_DELEGATE

This field will be removed in a future version. See https://github.com/eclipse-ee4j/jaxrs-api/issues/607

Returns:

a stringified cookie.
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.

Returns:

the newly created Cookie.
jakarta.ws.rs.core.Cookie.valueOf
(final String
the cookie string.
value
)

This method will be removed in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(Cookie.class).fromString(value) instead.

jakarta.ws.rs.core.EntityTag.HEADER_DELEGATE

This field will be removed in a future version. See https://github.com/eclipse-ee4j/jaxrs-api/issues/607

Returns:

a string version of the entity tag.
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.

Returns:

the newly created entity tag.
jakarta.ws.rs.core.EntityTag.valueOf
(final String
the entity tag string.
value
)

This method will be removed in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(EntityTag.class).fromString(value) instead.

jakarta.ws.rs.core.NewCookie.DELEGATE

This field will be removed in a future version. See https://github.com/eclipse-ee4j/jaxrs-api/issues/607

jakarta.ws.rs.core.NewCookie.NewCookie(final String
the name of the cookie.
name
,
final String
the value of the cookie.
value
)

This constructor will be removed in a future version. Please use NewCookie.Builder instead.

jakarta.ws.rs.core.NewCookie.NewCookie(final String
the name of the cookie.
name
,
final String
the value of the cookie.
value
,
final String
the URI path for which the cookie is valid.
path
,
final String
the host domain for which the cookie is valid.
domain
,
final String
the comment.
comment
,
final int
the maximum age of the cookie in seconds.
maxAge
,
final boolean
specifies whether the cookie will only be sent over a secure connection.
secure
)

This constructor will be removed in a future version. Please use NewCookie.Builder instead.

jakarta.ws.rs.core.NewCookie.NewCookie(final String
the name of the cookie.
name
,
final String
the value of the cookie.
value
,
final String
the URI path for which the cookie is valid.
path
,
final String
the host domain for which the cookie is valid.
domain
,
final String
the comment.
comment
,
final int
the maximum age of the cookie in seconds.
maxAge
,
final boolean
specifies whether the cookie will only be sent over a secure connection.
secure
,
final boolean
if true make the cookie HTTP only, i.e. only visible as part of an HTTP request.
httpOnly
)

This constructor will be removed in a future version. Please use NewCookie.Builder instead.

jakarta.ws.rs.core.NewCookie.NewCookie(final String
the name of the cookie
name
,
final String
the value of the cookie
value
,
final String
the URI path for which the cookie is valid
path
,
final String
the host domain for which the cookie is valid
domain
,
final int
the version of the specification to which the cookie complies
version
,
final String
the comment
comment
,
final int
the maximum age of the cookie in seconds
maxAge
,
final boolean
specifies whether the cookie will only be sent over a secure connection
secure
)

This constructor will be removed in a future version. Please use NewCookie.Builder instead.

jakarta.ws.rs.core.NewCookie.NewCookie(final String
the name of the cookie
name
,
final String
the value of the cookie
value
,
final String
the URI path for which the cookie is valid
path
,
final String
the host domain for which the cookie is valid
domain
,
final int
the version of the specification to which the cookie complies
version
,
final String
the comment
comment
,
final int
the maximum age of the cookie in seconds
maxAge
,
final Date
the cookie expiry date.
expiry
,
final boolean
specifies whether the cookie will only be sent over a secure connection
secure
,
final boolean
if true make the cookie HTTP only, i.e. only visible as part of an HTTP request.
httpOnly
)

This constructor will be removed in a future version. Please use NewCookie.Builder instead.

jakarta.ws.rs.core.NewCookie.NewCookie(final String
the name of the cookie
name
,
final String
the value of the cookie
value
,
final String
the URI path for which the cookie is valid
path
,
final String
the host domain for which the cookie is valid
domain
,
final int
the version of the specification to which the cookie complies
version
,
final String
the comment
comment
,
final int
the maximum age of the cookie in seconds
maxAge
,
final Date
the cookie expiry date.
expiry
,
final boolean
specifies whether the cookie will only be sent over a secure connection
secure
,
final boolean
if true make the cookie HTTP only, i.e. only visible as part of an HTTP request.
httpOnly
,
final NewCookie.SameSite
specifies the value of the SameSite cookie attribute
sameSite
)

This constructor will be removed in a future version. Please use NewCookie.Builder instead.

jakarta.ws.rs.core.NewCookie.NewCookie(final Cookie
the cookie to clone.
cookie
)

This constructor will be removed in a future version. Please use NewCookie.Builder instead.

jakarta.ws.rs.core.NewCookie.NewCookie(final Cookie
the cookie to clone.
cookie
,
final String
the comment.
comment
,
final int
the maximum age of the cookie in seconds.
maxAge
,
final boolean
specifies whether the cookie will only be sent over a secure connection.
secure
)

This constructor will be removed in a future version. Please use NewCookie.Builder instead.

jakarta.ws.rs.core.NewCookie.NewCookie(final Cookie
the cookie to clone.
cookie
,
final String
the comment.
comment
,
final int
the maximum age of the cookie in seconds.
maxAge
,
final Date
the cookie expiry date.
expiry
,
final boolean
specifies whether the cookie will only be sent over a secure connection.
secure
,
final boolean
if true make the cookie HTTP only, i.e. only visible as part of an HTTP request.
httpOnly
)

This constructor will be removed in a future version. Please use NewCookie.Builder instead.

jakarta.ws.rs.core.NewCookie.NewCookie(final Cookie
the cookie to clone.
cookie
,
final String
the comment.
comment
,
final int
the maximum age of the cookie in seconds.
maxAge
,
final Date
the cookie expiry date.
expiry
,
final boolean
specifies whether the cookie will only be sent over a secure connection.
secure
,
final boolean
if true make the cookie HTTP only, i.e. only visible as part of an HTTP request.
httpOnly
,
final NewCookie.SameSite
specifies the value of the SameSite cookie attribute
sameSite
)

This constructor will be removed in a future version. Please use NewCookie.Builder instead.

Returns:

a stringified cookie.
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.

Returns:

the newly created NewCookie.
jakarta.ws.rs.core.NewCookie.valueOf
(final String
the cookie string.
value
)

This method will be removed in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(NewCookie.class).fromString(value) instead.