Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 983:23ec25435b8c
simplify AbstractGenerator
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 16 Oct 2016 22:58:41 -0600 |
parents | dbecd7faa1f5 |
children | 8fef34f665e7 |
comparison
equal
deleted
inserted
replaced
982:dbecd7faa1f5 | 983:23ec25435b8c |
---|---|
766 writer.print(s); | 766 writer.print(s); |
767 } | 767 } |
768 | 768 |
769 public void sendResponse(Buffer response) throws IOException | 769 public void sendResponse(Buffer response) throws IOException |
770 { | 770 { |
771 ((HttpGenerator)super._generator).sendResponse(response); | 771 super._generator.sendResponse(response); |
772 } | 772 } |
773 | 773 |
774 public void sendContent(Object content) throws IOException | 774 public void sendContent(Object content) throws IOException |
775 { | 775 { |
776 Resource resource=null; | 776 Resource resource=null; |