T - The writable input bufferpublic class CaptureContext<T> extends Object implements Destroyable
| Modifier and Type | Field and Description |
|---|---|
T |
writableInputBuffer
Contains the input source ; it has to be writable in order
to replace the read bytes with '*' when necessary.
|
| Constructor and Description |
|---|
CaptureContext(List<String> fields)
Create a capture context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(String name,
Password newPassword)
Append a password that have been captured to this context.
|
Passwords |
asPasswords()
Return all the passwords that have been captured ;
the passwords can be retrieved by their name and
may be multi-valued.
|
void |
destroy() |
boolean |
isDestroyed() |
public T writableInputBuffer
public void destroy()
destroy in interface Destroyablepublic boolean isDestroyed()
isDestroyed in interface Destroyablepublic void add(String name, Password newPassword)
name - The field name.newPassword - The password.public Passwords asPasswords()
Copyright © 2018 Alternet. All rights reserved.