Package org.apache.wiki.ui
Interface GenericHTTPHandler
-
- All Known Subinterfaces:
AdminBean
- All Known Implementing Classes:
CoreBean,FilterBean,ModuleBean,PlainEditorAdminBean,PluginBean,SearchManagerBean,SimpleAdminBean,UserBean,WikiFormAdminBean
public interface GenericHTTPHandler
Provides a generic HTTP handler interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringdoGet(Context context)Return basic HTML.java.lang.StringdoPost(Context context)Handles a POST response.java.lang.StringgetId()Get an identifier for this particular AdminBean.
-
-
-
Method Detail
-
getId
java.lang.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
java.lang.String doGet(Context context)
Return basic HTML.- Parameters:
context- associated WikiContext- Returns:
- the HTML for the bean
-
-