Package org.jboss.resteasy.core
Class ServerResponseWriter
java.lang.Object
org.jboss.resteasy.core.ServerResponseWriter
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
commitHeaders
(BuiltResponse jaxrsResponse, HttpResponse response) protected static jakarta.ws.rs.core.MediaType
getDefaultContentType
(HttpRequest request, BuiltResponse jaxrsResponse, ResteasyProviderFactory providerFactory, ResourceMethodInvoker method) static jakarta.ws.rs.core.MediaType
getResponseMediaType
(BuiltResponse jaxrsResponse, HttpRequest request, HttpResponse response, ResteasyProviderFactory providerFactory, ResourceMethodInvoker method) static jakarta.ws.rs.core.MediaType
resolveContentType
(BuiltResponse response) protected static void
setDefaultContentType
(HttpRequest request, BuiltResponse jaxrsResponse, ResteasyProviderFactory providerFactory, ResourceMethodInvoker method) static void
setResponseMediaType
(BuiltResponse jaxrsResponse, HttpRequest request, HttpResponse response, ResteasyProviderFactory providerFactory, ResourceMethodInvoker method) static void
writeNomapResponse
(BuiltResponse jaxrsResponse, HttpRequest request, HttpResponse response, ResteasyProviderFactory providerFactory) Deprecated.static void
writeNomapResponse
(BuiltResponse jaxrsResponse, HttpRequest request, HttpResponse response, ResteasyProviderFactory providerFactory, boolean sendHeaders) Deprecated.static void
writeNomapResponse
(BuiltResponse jaxrsResponse, HttpRequest request, HttpResponse response, ResteasyProviderFactory providerFactory, Consumer<Throwable> onComplete) static void
writeNomapResponse
(BuiltResponse jaxrsResponse, HttpRequest request, HttpResponse response, ResteasyProviderFactory providerFactory, Consumer<Throwable> onComplete, boolean sendHeaders)
-
Constructor Details
-
ServerResponseWriter
public ServerResponseWriter()
-
-
Method Details
-
writeNomapResponse
public static void writeNomapResponse(BuiltResponse jaxrsResponse, HttpRequest request, HttpResponse response, ResteasyProviderFactory providerFactory, Consumer<Throwable> onComplete) throws IOException - Throws:
IOException
-
writeNomapResponse
@Deprecated public static void writeNomapResponse(BuiltResponse jaxrsResponse, HttpRequest request, HttpResponse response, ResteasyProviderFactory providerFactory) throws IOException Deprecated.- Throws:
IOException
-
writeNomapResponse
@Deprecated public static void writeNomapResponse(BuiltResponse jaxrsResponse, HttpRequest request, HttpResponse response, ResteasyProviderFactory providerFactory, boolean sendHeaders) throws IOException Deprecated.- Throws:
IOException
-
writeNomapResponse
public static void writeNomapResponse(BuiltResponse jaxrsResponse, HttpRequest request, HttpResponse response, ResteasyProviderFactory providerFactory, Consumer<Throwable> onComplete, boolean sendHeaders) throws IOException - Throws:
IOException
-
setResponseMediaType
public static void setResponseMediaType(BuiltResponse jaxrsResponse, HttpRequest request, HttpResponse response, ResteasyProviderFactory providerFactory, ResourceMethodInvoker method) -
getResponseMediaType
public static jakarta.ws.rs.core.MediaType getResponseMediaType(BuiltResponse jaxrsResponse, HttpRequest request, HttpResponse response, ResteasyProviderFactory providerFactory, ResourceMethodInvoker method) -
setDefaultContentType
protected static void setDefaultContentType(HttpRequest request, BuiltResponse jaxrsResponse, ResteasyProviderFactory providerFactory, ResourceMethodInvoker method) -
getDefaultContentType
protected static jakarta.ws.rs.core.MediaType getDefaultContentType(HttpRequest request, BuiltResponse jaxrsResponse, ResteasyProviderFactory providerFactory, ResourceMethodInvoker method) -
resolveContentType
-
commitHeaders
-