Class PojaHttpResponse<T,RES>

java.lang.Object
io.micronaut.http.poja.PojaHttpResponse<T,RES>
Type Parameters:
T - The body type
RES - The POJA response type
All Implemented Interfaces:
io.micronaut.core.attr.AttributeHolder, io.micronaut.core.attr.MutableAttributeHolder, io.micronaut.http.HttpMessage<T>, io.micronaut.http.HttpResponse<T>, io.micronaut.http.MutableHttpMessage<T>, io.micronaut.http.MutableHttpResponse<T>, ServletHttpResponse<RES,T>
Direct Known Subclasses:
ApacheServletHttpResponse

public abstract class PojaHttpResponse<T,RES> extends Object implements ServletHttpResponse<RES,T>
A base class for serverless POJA responses.
Since:
4.10.0
Author:
Andriy Dmytruk
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.core.attr.AttributeHolder

    getAttribute, getAttribute

    Methods inherited from interface io.micronaut.http.HttpMessage

    getAttributes, getBody, getBody, getBody, getBody, getBodyWriter, getCharacterEncoding, getContentLength, getContentType, getLocale

    Methods inherited from interface io.micronaut.http.HttpResponse

    body, code, getCookie, getCookies, getStatus, header, reason, setAttribute, status

    Methods inherited from interface io.micronaut.core.attr.MutableAttributeHolder

    removeAttribute

    Methods inherited from interface io.micronaut.http.MutableHttpMessage

    basicAuth, bearerAuth, bodyWriter, getHeaders

    Methods inherited from interface io.micronaut.http.MutableHttpResponse

    attribute, body, characterEncoding, characterEncoding, contentEncoding, contentLength, contentType, contentType, cookie, cookies, header, headers, headers, locale, status, status, status, status, toMutableResponse

    Methods inherited from interface io.micronaut.servlet.http.ServletHttpResponse

    getNativeResponse, getOutputStream, getWriter, stream
  • Constructor Details

    • PojaHttpResponse

      public PojaHttpResponse()