Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.net.ssl.provider
Class RecordInput  view RecordInput download RecordInput.java

java.lang.Object
  extended bygnu.javax.net.ssl.provider.RecordInput

class RecordInput
extends java.lang.Object


Field Summary
private static boolean DEBUG_RECORD_LAYER
           
private  byte[] fragment
           
private  java.io.DataInputStream in
           
private  int index
           
private static java.util.logging.Logger logger
           
private  Session session
           
private  ContentType type
           
 
Constructor Summary
(package private) RecordInput(java.io.InputStream in, Session session)
           
 
Method Summary
(package private)  int available(ContentType type)
           
(package private)  boolean pollClose()
           
(package private)  int read(byte[] buf, int off, int len, ContentType type)
           
private  void readRecord()
           
(package private)  void setSession(Session session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG_RECORD_LAYER

private static final boolean DEBUG_RECORD_LAYER
See Also:
Constant Field Values

logger

private static final java.util.logging.Logger logger

fragment

private byte[] fragment

index

private int index

type

private ContentType type

in

private final java.io.DataInputStream in

session

private Session session
Constructor Detail

RecordInput

RecordInput(java.io.InputStream in,
            Session session)
Method Detail

available

int available(ContentType type)
        throws java.io.IOException

setSession

void setSession(Session session)

read

int read(byte[] buf,
         int off,
         int len,
         ContentType type)
   throws java.io.IOException

pollClose

boolean pollClose()
            throws java.io.IOException

readRecord

private void readRecord()
                 throws java.io.IOException