| org.w3c.jigsaw.frames.HTTPFrame org.w3c.jigsaw.frames.PostableFrame
All known Subclasses: org.w3c.jigedit.tools.ToolsListerFrame, org.w3c.jigedit.cvs.CvsFrame, org.w3c.jigsaw.frames.SeeOtherFrame, org.w3c.jigsaw.webdav.DAVFrame, org.w3c.jigsaw.pagecompile.GeneratedFrame, org.w3c.jigsaw.pics.LabelBureauFrame, org.w3c.jigsaw.resources.PasswordEditorFrame, org.w3c.jigedit.filters.PutListFrame,
PostableFrame | public class PostableFrame extends HTTPFrame (Code) | | Handle POST.
|
ATTR_CONVERT_GET | protected static int ATTR_CONVERT_GET(Code) | | Attribute index - Should we silently convert GET to POST methods ?
|
ATTR_OVERIDE | protected static int ATTR_OVERIDE(Code) | | Attribute index - Should we override form values when multiple ?
|
get | public Reply get(Request request) throws ProtocolException, ResourceException(Code) | | Get this resource body.
If we are allowed to convert GET requests to POST, than we first
check to see if there is some search string in the request, and continue
with normal POST request processing.
If there is no search string, or if we are not allowed to convert
GETs to POSTs, than we just invoke our super method,
which will perform the appropriate job.
Parameters: request - The request to handle. exception: ProtocolException - If request couldn't be processed. exception: ResourceException - If the resource got a fatal error. |
getAllow | protected HttpTokenList getAllow()(Code) | | get the Allowed methods for this resource
an HttpTokenList |
getConvertGetFlag | public boolean getConvertGetFlag()(Code) | | Get the 'convert GET to POST' flag.
|
getOverrideFlag | public boolean getOverrideFlag()(Code) | | Get the 'override multiple form field value' flag.
|
handle | public Reply handle(Request request, URLDecoder data) throws ProtocolException(Code) | | Handle the form submission, after posted data parsing.
This method ought to be abstract, but for reasonable reason, it
will just dump (parsed) the form content back to the client, so that it
can be used for debugging.
Parameters: request - The request proper. Parameters: data - The parsed data content. exception: ProtocolException - If form data processing failed. See Also: org.w3c.jigsaw.forms.URLDecoder |
Methods inherited from org.w3c.jigsaw.frames.HTTPFrame | public void addStyleSheet(HtmlGenerator g)(Code)(Java Doc) public void attributeChanged(AttributeChangedEvent evt)(Code)(Java Doc) public Reply browse(Request request) throws ProtocolException(Code)(Java Doc) public boolean checkExpect(Request request)(Code)(Java Doc) public int checkIfMatch(Request request)(Code)(Java Doc) public int checkIfModifiedSince(Request request)(Code)(Java Doc) public int checkIfNoneMatch(Request request)(Code)(Java Doc) public int checkIfUnmodifiedSince(Request request)(Code)(Java Doc) public boolean checkRequest(RequestInterface request)(Code)(Java Doc) public int checkValidators(Request request)(Code)(Java Doc) public boolean computeContainerListing(boolean refresh)(Code)(Java Doc) public String computeETag()(Code)(Java Doc) protected File computeTrashDir(File dir)(Code)(Java Doc) protected File computeTrashFile(File file)(Code)(Java Doc) public Reply createDefaultReply(Request request, int status)(Code)(Java Doc) protected Reply createFileReply(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply delete(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply deleteDirectoryResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply deleteFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply deleteMe(Request request) throws HTTPException(Code)(Java Doc) protected Reply deleteOtherResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply extended(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply get(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected HttpTokenList getAllow()(Code)(Java Doc) public boolean getAllowDeleteFlag()(Code)(Java Doc) public boolean getBrowsableFlag()(Code)(Java Doc) protected synchronized MimeType getBrowseType()(Code)(Java Doc) public String getCharset()(Code)(Java Doc) public String getContentEncoding()(Code)(Java Doc) public String getContentLanguage()(Code)(Java Doc) public int getContentLength()(Code)(Java Doc) public MimeType getContentType()(Code)(Java Doc) public Reply getDirectoryListing(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public DirectoryResource getDirectoryResource()(Code)(Java Doc) protected Reply getDirectoryResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public HttpEntityTag getETag()(Code)(Java Doc) public FileResource getFileResource()(Code)(Java Doc) protected Reply getFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public String getHelpURL()(Code)(Java Doc) public String getHelpURL(String topic)(Code)(Java Doc) public String getIcon()(Code)(Java Doc) public String getIconDirectory()(Code)(Java Doc) public String getIndex()(Code)(Java Doc) public String[] getIndexes()(Code)(Java Doc) public boolean getMD5Flag()(Code)(Java Doc) public long getMaxAge()(Code)(Java Doc) protected Reply getOtherResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public boolean getPutableFlag()(Code)(Java Doc) public double getQuality()(Code)(Java Doc) public boolean getRelocateFlag()(Code)(Java Doc) public String getStyleSheetURL()(Code)(Java Doc) public String getTitle()(Code)(Java Doc) public URL getURL(Request request)(Code)(Java Doc) public Reply handleRangeRequest(Request request, HttpRange r) throws ProtocolException(Code)(Java Doc) public Reply head(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply headDirectoryResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply headFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply headOtherResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public void initialize(Hashtable defs)(Code)(Java Doc) public Reply link(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public boolean lookup(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) protected boolean lookupDirectory(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) protected boolean lookupFile(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) protected boolean lookupOther(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) protected boolean lookupResource(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) public Reply options(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public ReplyInterface perform(RequestInterface req) throws ProtocolException, ResourceException(Code)(Java Doc) protected ReplyInterface performFrames(RequestInterface request) throws ProtocolException, ResourceException(Code)(Java Doc) public void pickleValues(Hashtable defs)(Code)(Java Doc) public Reply post(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply put(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply putFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply putOtherResource(Request request) throws ProtocolException(Code)(Java Doc) public void registerOtherResource(FramedResource resource)(Code)(Java Doc) public void registerResource(FramedResource resource)(Code)(Java Doc) public synchronized void setValue(int idx, Object value)(Code)(Java Doc) public Reply trace(Request request) throws HTTPException, ClientException(Code)(Java Doc) public Reply unlink(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public double unsafeGetQuality()(Code)(Java Doc) protected void updateCachedHeaders()(Code)(Java Doc)
|
|
|