Skip to content

Commit

Permalink
GH-4004 - add EvaluateResult.getContentType()
Browse files Browse the repository at this point in the history
  • Loading branch information
naturzukunft committed Jun 22, 2022
1 parent 934b9c4 commit aca5e52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ public void setContentType(String contentType) {
response.setContentType(contentType);
}

@Override
public String getContentType() {
return response.getContentType();
}

@Override
public OutputStream getOutputstream() throws IOException {
return response.getOutputStream();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@
public interface EvaluateResult {
void setContentType(String contentType);

String getContentType();

OutputStream getOutputstream() throws IOException;
}

0 comments on commit aca5e52

Please sign in to comment.