1 16 17 package org.apache.jetspeed.services.urlmanager; 18 19 31 public class URLInfo implements java.io.Serializable { 32 33 private String url; 34 private int status; 35 private String message; 36 37 42 URLInfo( String url ) { 43 this( url, URLManagerService.STATUS_UNKNOWN, null ); 44 } 45 46 52 URLInfo( String url, int status ) { 53 this( url, status, null ); 54 } 55 56 64 URLInfo( String url, int status, String message ) { 65 this.url = url.intern(); 66 this.status = status; 67 this.message = message; 68 } 69 70 75 public String getURL() { 76 return this.url; 77 } 78 79 84 public int getStatus() { 85 return status; 86 } 87 88 93 public void setStatus( int status ) { 94 this.status = status; 95 } 96 97 102 public String getMessage() { 103 return message; 104 } 105 106 111 public void setMessage( String message ) { 112 this.message = message; 113 } 114 115 } 116 | Popular Tags |