com.sun.grizzly.tcp
Interface NotesManager<E>

All Known Implementing Classes:
NotesManagerImpl

public interface NotesManager<E>

Simple API used to implement notes support in Request/Response object.

Author:
Jeanfrancois Arcand

Method Summary
 E getNote(int key)
          Return the note associated with key,
 E removeNote(int key)
          Remove the note associated with the key token.
 void setNote(int key, E value)
          Add a note.
 

Method Detail

setNote

void setNote(int key,
             E value)
Add a note.


getNote

E getNote(int key)
Return the note associated with key,


removeNote

E removeNote(int key)
Remove the note associated with the key token.



Copyright © 2009 SUN Microsystems. All Rights Reserved.