List of usage examples for javax.servlet.http WebConnection getInputStream
public ServletInputStream getInputStream() 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 . j a v a 2s .co m }