1 /*
2 * Copyright 2001-2004 The Apache Software Foundation.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.portletbridge.portlet;
17
18 import java.io.Serializable;
19 import java.net.URI;
20
21 /***
22 * @author jmccrindle
23 */
24 public class PortletBridgeContent implements Serializable {
25
26 private URI url = null;
27 private String content = null;
28 private String method;
29
30 public PortletBridgeContent(URI url, String method, String content) {
31 super();
32 this.url = url;
33 this.method = method;
34 this.content = content;
35 }
36
37 public String getContent() {
38 return content;
39 }
40 public void setContent(String content) {
41 this.content = content;
42 }
43 public URI getUrl() {
44 return url;
45 }
46 public void setUrl(URI url) {
47 this.url = url;
48 }
49
50 public String getMethod() {
51 return method;
52 }
53 }