public interface

ApiOutput

implements java.io.Serializable

 com.bluenimble.platform.api.ApiOutput

Subclasses:

ApiByteArrayOutput, ApiResourceOutput, JsonApiOutput

Summary

Methods
public java.lang.StringcontentType()

public JsonObjectdata()

public java.lang.Stringextension()

public java.lang.Objectget(java.lang.String key)

public longlength()

public JsonObjectmeta()

public java.lang.Stringname()

public voidpipe(java.io.OutputStream out, long position, long count)

public voidpipe(java.io.OutputStream out, StreamDecorator decorator, Chunk chunks[])

public ApiOutputset(java.lang.String key, java.lang.Object value)

public java.util.Datetimestamp()

public java.io.InputStreamtoInput()

public ApiOutputunset(java.lang.String key)

Methods

public java.lang.String name()

public java.util.Date timestamp()

public java.lang.String contentType()

public java.lang.String extension()

public long length()

public ApiOutput set(java.lang.String key, java.lang.Object value)

public ApiOutput unset(java.lang.String key)

public java.lang.Object get(java.lang.String key)

public JsonObject meta()

public JsonObject data()

public void pipe(java.io.OutputStream out, long position, long count)

public java.io.InputStream toInput()

public void pipe(java.io.OutputStream out, StreamDecorator decorator, Chunk chunks[])