Package railo.runtime.net.http

Examples of railo.runtime.net.http.ServletInputStreamDummy


  /**
   * @return return content as a http header input stream
   */
  public ServletInputStream getInputStream() {
    if(headerType==HEADER_APP_URL_ENC) {
      return new ServletInputStreamDummy(toBarr(raw,AMP));
    }
    else if(headerType==HEADER_TEXT_PLAIN) {
      return new ServletInputStreamDummy(toBarr(raw,NL));
    }
    /*else if(headerType==HEADER_MULTIPART_FORM_DATA) {
      return new FormImplInputStream(this);
      // TODO
    }*/
    return new ServletInputStreamDummy(new byte[]{});
  }
View Full Code Here

TOP

Related Classes of railo.runtime.net.http.ServletInputStreamDummy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.