org.apache.wiki.ui
Interface GenericHTTPHandler

All Known Subinterfaces:
AdminBean
All Known Implementing Classes:
CoreBean, PlainEditorAdminBean, PluginBean, SearchManagerBean, SimpleAdminBean, UserBean, WikiFormAdminBean

public interface GenericHTTPHandler

Provides a generic HTTP handler interface.


Method Summary
 String doGet(WikiContext context)
          Return basic HTML.
 String doPost(WikiContext context)
          Handles a POST response.
 String getId()
          Get an identifier for this particular AdminBean.
 

Method Detail

getId

String getId()
Get an identifier for this particular AdminBean. This id MUST conform to URI rules. The ID must also be unique across all HTTPHandlers.

Returns:
the identifier for the bean

doGet

String doGet(WikiContext context)
Return basic HTML.

Parameters:
context -
Returns:
the HTML for the bean

doPost

String doPost(WikiContext context)
Handles a POST response.

Parameters:
context -
Returns:
the response string resulting from the POST


Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.