public abstract class ResponseWriter<I,O> extends Object
Constructor and Description |
---|
ResponseWriter() |
Modifier and Type | Method and Description |
---|---|
protected abstract O |
writeEntity(I value) |
protected abstract O |
writeEntity(ResponseEntity<I> value) |
O |
writeResponse(I value) |
public O writeResponse(I value) throws IOException
IOException
protected abstract O writeEntity(I value) throws IOException
IOException
protected abstract O writeEntity(ResponseEntity<I> value) throws IOException
IOException
Copyright © 2017–2022. All rights reserved.