Class FinalizedClientResponse
java.lang.Object
jakarta.ws.rs.core.Response
org.jboss.resteasy.specimpl.AbstractBuiltResponse
org.jboss.resteasy.specimpl.BuiltResponse
org.jboss.resteasy.client.jaxrs.internal.ClientResponse
org.jboss.resteasy.client.jaxrs.internal.FinalizedClientResponse
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
AbortedResponse
Deprecated.
finalizers should no longer be used and this type will be removed in the future
A class that adds a
} as a last ditch backstop to prevent
leaking resources with ill-behaved clients. Use of finalize could incur a significant performance penalty.
invalid @link
{@link Object#finalize) method to the {@link ClientResponse
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractBuiltResponse
AbstractBuiltResponse.InputStreamWrapper<T>Nested classes/interfaces inherited from class jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response.ResponseBuilder, jakarta.ws.rs.core.Response.Status, jakarta.ws.rs.core.Response.StatusType -
Field Summary
Fields inherited from class ClientResponse
configuration, properties, tracingLoggerFields inherited from class AbstractBuiltResponse
annotations, bufferedEntity, entity, entityClass, genericType, is, isClosed, metadata, processor, reason, status, streamFullyRead, streamRead -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFinalizedClientResponse(ClientConfiguration configuration, RESTEasyTracingLogger tracingLogger) Deprecated. -
Method Summary
Methods inherited from class ClientResponse
abortIfClosed, bufferEntity, close, getEntity, getEntityClass, getEntityStream, getHeaderValueProcessor, getProperties, hasEntity, noReleaseConnection, readFrom, setClientConfiguration, setHeaders, setInputStream, setPropertiesMethods inherited from class BuiltResponse
getInputStream, readEntity, releaseConnection, releaseConnectionMethods inherited from class AbstractBuiltResponse
addMethodAnnotations, getAllowedMethods, getAnnotations, getCookies, getDate, getEntityTag, getGenericType, getHeaderString, getLanguage, getLastModified, getLength, getLink, getLinkBuilder, getLinks, getLocation, getMediaType, getMetadata, getReasonPhrase, getStatus, getStatusInfo, getStringHeaders, hasLink, isClosed, readEntity, readEntity, readEntity, readEntity, resetEntity, setAnnotations, setEntity, setEntityClass, setGenericType, setMetadata, setReasonPhrase, setStatus, setStreamFullyRead, setStreamRead, toHeaderStringMethods inherited from class jakarta.ws.rs.core.Response
accepted, accepted, created, fromResponse, getHeaders, noContent, notAcceptable, notModified, notModified, notModified, ok, ok, ok, ok, ok, seeOther, serverError, status, status, status, status, temporaryRedirect
-
Constructor Details
-
FinalizedClientResponse
protected FinalizedClientResponse(ClientConfiguration configuration, RESTEasyTracingLogger tracingLogger) Deprecated.
-
-
Method Details
-
finalize
-