org.ops4j.pax.web.extender.whiteboard
Interface WelcomeFileMapping

All Known Implementing Classes:
DefaultWelcomeFileMapping

public interface WelcomeFileMapping

Welcome file mapping

Since:
0.7.0
Author:
dsklyut

Method Summary
 java.lang.String getHttpContextId()
          Getter.
 java.lang.String[] getWelcomeFiles()
          Getter
 boolean isRedirect()
          Getter
 

Method Detail

getHttpContextId

java.lang.String getHttpContextId()
Getter.

Returns:
id of the http context this jsp belongs to

isRedirect

boolean isRedirect()
Getter

Returns:
true if the client should be redirected to welcome file or false if forwarded

getWelcomeFiles

java.lang.String[] getWelcomeFiles()
Getter

Returns:
an array of welcome files paths. Paths must not start or end with "/"


Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.