List of usage examples for javax.servlet.http WebConnection getOutputStream
public ServletOutputStream getOutputStream() throws IOException;
From source file:org.sample.protocolhandler.MyProtocolHandler.java
@Override public void init(WebConnection wc) { try (ServletInputStream input = wc.getInputStream(); ServletOutputStream output = wc.getOutputStream();) { } catch (IOException ex) { }/*from ww w. ja va 2s.c om*/ }