org.glassfish.grizzly.http.util
Interface Chunk

All Known Implementing Classes:
BufferChunk, CharChunk

public interface Chunk

General interface for CharChunk and BufferChunk.

Since:
2.0
Author:
Alexey Stashok
See Also:
CharChunk, BufferChunk, DataChunk

Method Summary
 void delete(int start, int end)
           
 int getEnd()
           
 int getLength()
           
 int getStart()
           
 int indexOf(char c, int start)
           
 int indexOf(String s, int start)
           
 void notifyDirectUpdate()
          Notify the Chunk that its content is going to be changed directly
 void setEnd(int end)
           
 void setStart(int start)
           
 String toString(int start, int end)
           
 

Method Detail

getStart

int getStart()

setStart

void setStart(int start)

getEnd

int getEnd()

setEnd

void setEnd(int end)

getLength

int getLength()

toString

String toString(int start,
                int end)

indexOf

int indexOf(char c,
            int start)

indexOf

int indexOf(String s,
            int start)

delete

void delete(int start,
            int end)

notifyDirectUpdate

void notifyDirectUpdate()
Notify the Chunk that its content is going to be changed directly



Copyright © 2012 Oracle Corporation. All Rights Reserved.