Search in sources :

Example 1 with PartEventHttpMessageWriter

use of cn.taketoday.http.codec.multipart.PartEventHttpMessageWriter in project today-framework by TAKETODAY.

the class ClientDefaultCodecsImpl method extendTypedWriters.

@Override
protected void extendTypedWriters(List<HttpMessageWriter<?>> typedWriters) {
    addCodec(typedWriters, new MultipartHttpMessageWriter(getPartWriters(), new FormHttpMessageWriter()));
    addCodec(typedWriters, new PartEventHttpMessageWriter());
}
Also used : PartEventHttpMessageWriter(cn.taketoday.http.codec.multipart.PartEventHttpMessageWriter) MultipartHttpMessageWriter(cn.taketoday.http.codec.multipart.MultipartHttpMessageWriter) FormHttpMessageWriter(cn.taketoday.http.codec.FormHttpMessageWriter)

Example 2 with PartEventHttpMessageWriter

use of cn.taketoday.http.codec.multipart.PartEventHttpMessageWriter in project today-infrastructure by TAKETODAY.

the class ClientDefaultCodecsImpl method extendTypedWriters.

@Override
protected void extendTypedWriters(List<HttpMessageWriter<?>> typedWriters) {
    addCodec(typedWriters, new MultipartHttpMessageWriter(getPartWriters(), new FormHttpMessageWriter()));
    addCodec(typedWriters, new PartEventHttpMessageWriter());
}
Also used : PartEventHttpMessageWriter(cn.taketoday.http.codec.multipart.PartEventHttpMessageWriter) MultipartHttpMessageWriter(cn.taketoday.http.codec.multipart.MultipartHttpMessageWriter) FormHttpMessageWriter(cn.taketoday.http.codec.FormHttpMessageWriter)

Aggregations

FormHttpMessageWriter (cn.taketoday.http.codec.FormHttpMessageWriter)2 MultipartHttpMessageWriter (cn.taketoday.http.codec.multipart.MultipartHttpMessageWriter)2 PartEventHttpMessageWriter (cn.taketoday.http.codec.multipart.PartEventHttpMessageWriter)2