1 19 20 package com.sslexplorer.webforwards; 21 22 import com.sslexplorer.policyframework.LaunchSession; 23 import com.sslexplorer.policyframework.Resource; 24 import com.sslexplorer.replacementproxy.Replacement; 25 26 42 public interface WebForward extends Resource { 43 44 60 public final static int TYPE_TUNNELED_SITE = 0; 61 62 102 public final static int TYPE_REPLACEMENT_PROXY = 1; 103 104 117 public final static int TYPE_PATH_BASED_REVERSE_PROXY = 2; 118 119 public final static int TYPE_HOST_BASED_REVERSE_PROXY = 3; 120 121 124 public final static String ATTR_TUNNELED_SITE = "Tunneled Site"; 125 126 129 public final static String ATTR_REPLACEMENT_PROXY = "Replacement Proxy"; 130 131 134 public final static String ATTR_PATH_BASED_REVERSE_PROXY = "Path-Based Reverse Proxy"; 135 136 139 public final static String ATTR_HOST_BASED_REVERSE_PROXY = "Host-Based Reverse Proxy"; 140 141 148 public int getType(); 149 150 155 public String getDestinationURL(); 156 157 162 public String getCategory(); 163 164 169 public void setCategory(String category); 170 171 176 public void setDestinationURL(String destinationURL); 177 178 185 public void setType(int type); 186 187 192 public void setResourceId(int id); 193 194 199 public String getLaunchUri(LaunchSession launchSession); 200 201 } 202 | Popular Tags |