949596979899100
} return data; } public DataHandler asDataHandler() { return new DataSourceStreamingDataHandler(new ByteArrayDataSource(data,start,len,getContentType())); }
88899091929394
throw new WebServiceException(e); } } public DataHandler asDataHandler() { return new DataSourceStreamingDataHandler(this); }
87888990919293
//we got to reallocate and give the exact byte[] return byteArrayBuffer.toByteArray(); } public DataHandler asDataHandler() { return new DataSourceStreamingDataHandler(new ByteArrayDataSource(data,0,len,getContentType())); }
9899100101102103104
979899100101102103
return bab.getRawData(); } @Override public DataHandler asDataHandler() { return new DataSourceStreamingDataHandler(this); }
91929394959697
89909192939495
public byte[] asByteArray() { return data; } public DataHandler asDataHandler() { return new DataSourceStreamingDataHandler(new ByteArrayDataSource(data, getContentType())); }
82838485868788
public byte[] asByteArray() { return data; } public DataHandler asDataHandler() { return new DataSourceStreamingDataHandler(new ByteArrayDataSource(data,getContentType())); }