|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.vfny.geoserver.responses.wfs.FeatureResponse
Handles a Get Feature request and creates a Get Feature response GML string.
Constructor Summary | |
FeatureResponse()
Empty constructor |
Method Summary | |
void |
abort(GeoServer gs)
Release locks if we are into that sort of thing. |
void |
execute(FeatureRequest request)
Performs a getFeatures, or getFeaturesWithLock (using gt2 locking ). |
void |
execute(Request req)
Executes FeatureRequest. |
java.lang.String |
getContentType(GeoServer gs)
DOCUMENT ME! |
void |
writeTo(java.io.OutputStream out)
Jody here with one pass replacement for writeTo. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FeatureResponse()
Method Detail |
public java.lang.String getContentType(GeoServer gs)
getContentType
in interface Response
gs
- DOCUMENT ME!
public void writeTo(java.io.OutputStream out) throws ServiceException
This code is a discussion point, when everyone has had there input we will try and set things up properly.
I am providing a mirror of the existing desing: - execute gathers the resultList - sets up the header
writeTo
in interface Response
out
- DOCUMENT ME!
ServiceException
- DOCUMENT ME!
java.lang.IllegalStateException
- DOCUMENT ME!public void execute(Request req) throws ServiceException
Willing to execute a FetureRequest, or FeatureRequestWith Lock.
execute
in interface Response
req
- DOCUMENT ME!
ServiceException
- DOCUMENT ME!public void execute(FeatureRequest request) throws ServiceException
The idea is to grab the FeatureResulsts during execute, and use them during writeTo.
request
-
ServiceException
WfsException
- DOCUMENT ME!public void abort(GeoServer gs)
abort
in interface Response
org.vfny.geoserver.responses.Response#abort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |