01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05:
06: package com.sun.portal.search.rdmserver;
07:
08: import com.sun.portal.search.rdm.*;
09: import com.sun.portal.search.util.*;
10: import com.sun.portal.log.common.PortalLogger;
11:
12: import java.util.logging.Logger;
13: import java.util.logging.Level;
14:
15: /**
16: * UnsupportedService - catch all for requests not handled by any other service.
17: */
18: public class UnsupportedService extends RDMService {
19:
20: public void service(RDMRequest req, RDMResponse res)
21: throws Exception {
22: SearchLogger.getLogger().log(Level.FINE, "PSSH_CSPSRDMS0135");
23: res.getHeader().setType(RDM.RDM_STAT_RES);
24: res.getHeader().setErrorMessage("Unsupported Service");
25: res.sendHeader();
26: req.logRDM("status=unsupported");
27: }
28:
29: }
|