javax.servlet
Class ServletInputStream
java.lang.Object
java.io.InputStream
javax.servlet.ServletInputStream
- public abstract class ServletInputStream
- extends InputStream
JML's specification of ServletInputStream
Specifications inherited from class InputStream |
public invariant ( \forall int i; 0 <= i&&i < this.inputBytes.size(); this.inputBytes.get(i) instanceof org.jmlspecs.models.JMLByte);
public invariant this.readPosition >= 0&&this.readPosition <= this.inputBytes.length();
public invariant this.availableBytes >= 0;
public invariant this.isOpen ==> !this.wasClosed;
public invariant this.wasClosed ==> !this.isOpen;
public constraint this.inputBytes == \old(this.inputBytes);
public initially this.readPosition == 0;
initially this.markPosition == -1; |
Specifications inherited from class Object |
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT;
public represents _getClass <- \typeof(this); |
Method Summary |
int |
readLine(byte[] b,
int off,
int len)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletInputStream
protected ServletInputStream()
readLine
public int readLine(byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.