Skip to content

Instantly share code, notes, and snippets.

@andresrc
Created August 17, 2012 11:33
Show Gist options
  • Save andresrc/3378193 to your computer and use it in GitHub Desktop.
Save andresrc/3378193 to your computer and use it in GitHub Desktop.
Bocas Value (conversions)
public class BocasValue implements InputSupplier<InputStream> {
/**
* Turns this value into a loaded one.
* @throws BocasException if unable to load the payload.
*/
public LoadedBocasValue load();
/**
* Turns this value into a direct one.
* @throws BocasException if unable to load the payload.
*/
public DirectBocasValue direct();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment