1
2
3
4
5 package org.fedoracommons.funapi;
6
7 import java.io.InputStream;
8
9
10
11
12
13
14
15
16
17 public class UnapiObject {
18 private InputStream is;
19 private String redirectUrl;
20 private String contentType;
21
22 public UnapiObject(String redirectUrl) {
23 this.redirectUrl = redirectUrl;
24 }
25
26 public UnapiObject(InputStream is, String contentType) {
27 this.is = is;
28 this.contentType = contentType;
29 }
30
31 public String getRedirectUrl() {
32 return redirectUrl;
33 }
34
35 public InputStream getInputStream() {
36 return is;
37 }
38
39 public String getContentType() {
40 return contentType;
41 }
42 }