root / trunk / libraries / libRemoteServices / src / org / gvsig / remoteClient / request / BaseRequest.java @ 2988
History | View | Annotate | Download (610 Bytes)
1 |
package org.gvsig.remoteClient.request; |
---|---|
2 |
|
3 |
/**
|
4 |
* This is the base class for the classes which manage the different requests
|
5 |
* from the client side. Provides the default method BUILD that will be implemented
|
6 |
* in its subclasses.
|
7 |
* @author Laura Diaz
|
8 |
*/
|
9 |
public abstract class BaseRequest |
10 |
{ |
11 |
protected static final int NAME_VALUE_PAIRS_TYPE = 0; |
12 |
protected static final int XML_TYPE = 1; |
13 |
protected int REQUEST_TYPE; |
14 |
|
15 |
public BaseRequest()
|
16 |
{} |
17 |
|
18 |
// TODO: Implement in build method:
|
19 |
// pass a REQUEST_TYPE to build an XML request or a NAME_VALUE_PAIR.
|
20 |
public abstract String build() throws Exception; |
21 |
|
22 |
} |