Package com.linecorp.armeria.common
Interface HttpResponseWriter
- All Superinterfaces:
HttpMessage
,HttpResponse
,org.reactivestreams.Publisher<HttpObject>
,Response
,StreamMessage<HttpObject>
,StreamWriter<HttpObject>
An
HttpResponse
that can have HttpObject
s written to it.-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close(AggregatedHttpResponse res)
Writes the specified HTTP response and closes the stream.Methods inherited from interface com.linecorp.armeria.common.HttpMessage
decode, decode
Methods inherited from interface com.linecorp.armeria.common.HttpResponse
aggregate, aggregate, aggregateWithPooledObjects, aggregateWithPooledObjects, decode, mapData, mapError, mapHeaders, mapInformational, mapTrailers, recover, split, split, toDuplicator, toDuplicator, toDuplicator, toDuplicator, whenComplete
Methods inherited from interface com.linecorp.armeria.common.stream.StreamMessage
abort, abort, collect, collect, collect, defaultSubscriberExecutor, demand, filter, isComplete, isEmpty, isOpen, map, recoverAndResume, subscribe, subscribe, subscribe, subscribe
Methods inherited from interface com.linecorp.armeria.common.stream.StreamWriter
close, close, isOpen, tryWrite, tryWrite, whenConsumed, write, write
-
Method Details
-
close
Writes the specified HTTP response and closes the stream.
-