01: // RequestInterface.java
02: // $Id: RequestInterface.java,v 1.2 2000/08/16 21:37:53 ylafon Exp $
03: // (c) COPYRIGHT MIT and INRIA, 1996.
04: // Please first read the full copyright statement in file COPYRIGHT.html
05:
06: package org.w3c.tools.resources;
07:
08: public interface RequestInterface {
09:
10: /**
11: * FIXME doc
12: */
13: public void setState(String name, String state);
14:
15: /**
16: * Get the URL path of the target resource.
17: */
18: public String getURLPath();
19:
20: /**
21: * Return true is the request is internal.
22: * @return a boolean.
23: */
24: public boolean isInternal();
25:
26: /**
27: * Get a "Bad request" reply.
28: * @return a ReplyInterface instance.
29: */
30: public ReplyInterface makeBadRequestReply();
31:
32: }
|