|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxri.config.impl.AbstractComponent
org.openxri.plugin.impl.RedirectPlugin
public class RedirectPlugin
A plugin that can issues a HTTP redirect to a preconfigured URI.
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTIES_KEY_URI
|
| Fields inherited from class org.openxri.config.impl.AbstractComponent |
|---|
properties |
| Constructor Summary | |
|---|---|
RedirectPlugin(java.util.Properties properties)
|
|
| Method Summary | |
|---|---|
void |
init()
A server component is constructed by the ComponentRegistry by passing a Properties object to its constructor and then calling this init() method. |
boolean |
processCustomRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process a request that is not an XRI lookup |
void |
shutdown()
|
| Methods inherited from class org.openxri.config.impl.AbstractComponent |
|---|
getProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openxri.config.Component |
|---|
getProperties |
| Field Detail |
|---|
public static final java.lang.String PROPERTIES_KEY_URI
| Constructor Detail |
|---|
public RedirectPlugin(java.util.Properties properties)
| Method Detail |
|---|
public void init()
Component
init in interface Component
public boolean processCustomRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
Plugin
processCustomRequest in interface Pluginjava.io.IOExceptionpublic void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||