Class SpeakeasyNettyResponse
java.lang.Object
dev.speakeasyapi.micronaut.implementation.SpeakeasyNettyResponse
- All Implemented Interfaces:
SpeakeasyResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuffer(io.netty.buffer.ByteBuf content) getBodyText(String droppedText) getContentLength(boolean originalSize) getCookies(Instant startTime) intvoidregister(SpeakeasyCaptureWriter writer)
-
Constructor Details
-
SpeakeasyNettyResponse
public SpeakeasyNettyResponse(io.netty.handler.codec.http.HttpResponse response)
-
-
Method Details
-
register
-
buffer
public void buffer(io.netty.buffer.ByteBuf content) -
getHeaders
- Specified by:
getHeadersin interfaceSpeakeasyResponse
-
getCookies
- Specified by:
getCookiesin interfaceSpeakeasyResponse
-
getContentType
- Specified by:
getContentTypein interfaceSpeakeasyResponse
-
getBodyText
- Specified by:
getBodyTextin interfaceSpeakeasyResponse
-
getContentLength
- Specified by:
getContentLengthin interfaceSpeakeasyResponse
-
getStatus
public int getStatus()- Specified by:
getStatusin interfaceSpeakeasyResponse
-
getLocationHeader
- Specified by:
getLocationHeaderin interfaceSpeakeasyResponse
-
getHeaderSize
- Specified by:
getHeaderSizein interfaceSpeakeasyResponse
-