|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Redirector
Interface for an redirector abstraction
Method Summary | |
---|---|
void |
globalRedirect(boolean sessionmode,
String url)
|
boolean |
hasRedirected()
Was one of the redirection methods called ? |
void |
redirect(boolean sessionmode,
String url)
Redirect to the given URL |
void |
sendStatus(int sc)
Send a content-less response with the given status code. |
Method Detail |
---|
void redirect(boolean sessionmode, String url) throws IOException, ProcessingException
IOException
ProcessingException
void globalRedirect(boolean sessionmode, String url) throws IOException, ProcessingException
IOException
ProcessingException
boolean hasRedirected()
void sendStatus(int sc)
sc
- an http status code.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |