Changeset 1569 for MDService2/branches/MDService_simple3/src/eu/clarin/cmdi/mdservice/proxy/BasicProxy.java
- Timestamp:
- 09/30/11 11:01:52 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/branches/MDService_simple3/src/eu/clarin/cmdi/mdservice/proxy/BasicProxy.java
r1541 r1569 8 8 import org.apache.log4j.Logger; 9 9 import eu.clarin.cmdi.mdservice.action.GenericAction; 10 import eu.clarin.cmdi.mdservice.internal.CQLParseException; 10 11 import eu.clarin.cmdi.mdservice.internal.NoStylesheetException; 11 12 import eu.clarin.cmdi.mdservice.internal.Utils; … … 91 92 * uses base_url + url_pattern (parametrized by actionkey) to form a url 92 93 * @return the full target-request URL to be sent to the target repository 94 * @throws CQLParseException 93 95 * @throws Exception 94 96 */ 95 public URL getTargetRequest() throws IOException {97 public URL getTargetRequest() throws IOException, CQLParseException { 96 98 97 99 URL targetURL =new URL(getBaseURI() + this.getSourceAction().getTargetRequestParams()); … … 102 104 } 103 105 104 public InputStream getSourceStream() throws IOException, NoStylesheetException {106 public InputStream getSourceStream() throws IOException, NoStylesheetException, CQLParseException { 105 107 URLConnection urlConnection = getTargetRequest().openConnection(); 106 108 getSourceAction().setRequestProperties(urlConnection);
Note: See TracChangeset
for help on using the changeset viewer.