@Deprecated public final class PluginData extends Object
Constructor and Description |
---|
PluginData(InputStream stream,
long length,
Map<String,String[]> headers,
int code)
Deprecated.
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
Modifier and Type | Method and Description |
---|---|
long |
getContentLength()
Deprecated.
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
Map<String,String[]> |
getHeaders()
Deprecated.
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
InputStream |
getInputStream()
Deprecated.
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
int |
getStatusCode()
Deprecated.
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
@Deprecated public PluginData(InputStream stream, long length, Map<String,String[]> headers, int code)
stream
- The stream that supplies content for the plugin.length
- The length of the plugin content.headers
- The response headers. Map of
lowercase header name to [ unmodified header name, header value]length
- The HTTP response status code.@Deprecated public InputStream getInputStream()
@Deprecated public long getContentLength()
@Deprecated public Map<String,String[]> getHeaders()
@Deprecated public int getStatusCode()