-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fbde398
commit 5c06a07
Showing
337 changed files
with
1,447 additions
and
1,832 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ dependency-reduced-pom.xml | |
target/ | ||
*.iml | ||
*.ipr | ||
*.idea | ||
*.iws | ||
*.*~ | ||
bin/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,17 +13,17 @@ | |
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.ocpsoft.rewrite.servlet; | ||
package org.ocpsoft.rewrite.servlet; | ||
|
||
import javax.servlet.ServletRequest; | ||
import javax.servlet.ServletResponse; | ||
|
||
import com.ocpsoft.rewrite.event.Rewrite; | ||
import com.ocpsoft.rewrite.servlet.event.ServletRewrite; | ||
import com.ocpsoft.rewrite.spi.RewriteProvider; | ||
import org.ocpsoft.rewrite.event.Rewrite; | ||
import org.ocpsoft.rewrite.servlet.event.ServletRewrite; | ||
import org.ocpsoft.rewrite.spi.RewriteProvider; | ||
|
||
/** | ||
* Abstract implementation of {@link RewriteProvider} which only handles {@link ServletRewrite} events. | ||
* Abstract implementation of {@link org.ocpsoft.rewrite.spi.RewriteProvider} which only handles {@link org.ocpsoft.rewrite.servlet.event.ServletRewrite} events. | ||
* | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,16 +13,16 @@ | |
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.ocpsoft.rewrite.servlet.config; | ||
package org.ocpsoft.rewrite.servlet.config; | ||
|
||
import javax.servlet.ServletContext; | ||
|
||
import com.ocpsoft.rewrite.config.ConfigurationProvider; | ||
import org.ocpsoft.rewrite.config.ConfigurationProvider; | ||
|
||
/** | ||
* Configuration provider for HTTP/Servlet environments. | ||
* | ||
* @see ConfigurationProvider | ||
* @see org.ocpsoft.rewrite.config.ConfigurationProvider | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
* | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,16 +13,16 @@ | |
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.ocpsoft.rewrite.servlet.config; | ||
package org.ocpsoft.rewrite.servlet.config; | ||
|
||
import com.ocpsoft.rewrite.config.Operation; | ||
import com.ocpsoft.rewrite.config.OperationBuilder; | ||
import com.ocpsoft.rewrite.context.EvaluationContext; | ||
import com.ocpsoft.rewrite.event.Rewrite; | ||
import com.ocpsoft.rewrite.servlet.http.event.HttpServletRewrite; | ||
import org.ocpsoft.rewrite.config.Operation; | ||
import org.ocpsoft.rewrite.config.OperationBuilder; | ||
import org.ocpsoft.rewrite.context.EvaluationContext; | ||
import org.ocpsoft.rewrite.event.Rewrite; | ||
import org.ocpsoft.rewrite.servlet.http.event.HttpServletRewrite; | ||
|
||
/** | ||
* An {@link Operation} that is only performed if the current {@link Rewrite} event is an instance of | ||
* An {@link Operation} that is only performed if the current {@link org.ocpsoft.rewrite.event.Rewrite} event is an instance of | ||
* {@link HttpServletRewrite} | ||
* | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,26 +13,25 @@ | |
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.ocpsoft.rewrite.servlet.event; | ||
package org.ocpsoft.rewrite.servlet.event; | ||
|
||
import javax.servlet.RequestDispatcher; | ||
import javax.servlet.ServletRequest; | ||
import javax.servlet.ServletRequestWrapper; | ||
import javax.servlet.ServletResponse; | ||
import javax.servlet.ServletResponseWrapper; | ||
|
||
import com.ocpsoft.rewrite.event.InboundRewrite; | ||
import com.ocpsoft.rewrite.servlet.spi.RewriteLifecycleListener; | ||
import com.ocpsoft.rewrite.spi.RewriteProvider; | ||
import org.ocpsoft.rewrite.event.InboundRewrite; | ||
import org.ocpsoft.rewrite.spi.RewriteProvider; | ||
|
||
/** | ||
* Immutable event propagated to registered {@link RewriteLifecycleListener} and {@link RewriteProvider} instances when | ||
* Immutable event propagated to registered {@link org.ocpsoft.rewrite.servlet.spi.RewriteLifecycleListener} and {@link RewriteProvider} instances when | ||
* an inbound as the rewrite lifecycle is executed. | ||
* | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
*/ | ||
public interface InboundServletRewrite<IN extends ServletRequest, OUT extends ServletResponse> extends | ||
InboundRewrite, ServletRewrite<IN, OUT> | ||
InboundRewrite, ServletRewrite<IN, OUT> | ||
{ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,17 +13,17 @@ | |
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.ocpsoft.rewrite.servlet.event; | ||
package org.ocpsoft.rewrite.servlet.event; | ||
|
||
import javax.servlet.ServletRequest; | ||
import javax.servlet.ServletResponse; | ||
|
||
import com.ocpsoft.rewrite.event.OutboundRewrite; | ||
import org.ocpsoft.rewrite.event.OutboundRewrite; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
*/ | ||
public interface OutboundServletRewrite<IN extends ServletRequest, OUT extends ServletResponse> extends | ||
OutboundRewrite, ServletRewrite<IN, OUT> | ||
OutboundRewrite, ServletRewrite<IN, OUT> | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,14 +13,14 @@ | |
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.ocpsoft.rewrite.servlet.event; | ||
package org.ocpsoft.rewrite.servlet.event; | ||
|
||
import javax.servlet.FilterChain; | ||
import javax.servlet.ServletRequest; | ||
import javax.servlet.ServletResponse; | ||
|
||
import com.ocpsoft.rewrite.event.Rewrite; | ||
import com.ocpsoft.rewrite.servlet.event.BaseRewrite.Flow; | ||
import org.ocpsoft.rewrite.event.Rewrite; | ||
import org.ocpsoft.rewrite.servlet.event.BaseRewrite.Flow; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,14 +13,14 @@ | |
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.ocpsoft.rewrite.servlet.http; | ||
package org.ocpsoft.rewrite.servlet.http; | ||
|
||
import javax.servlet.http.HttpServletRequest; | ||
import javax.servlet.http.HttpServletResponse; | ||
|
||
import com.ocpsoft.rewrite.event.Rewrite; | ||
import com.ocpsoft.rewrite.servlet.http.event.HttpServletRewrite; | ||
import com.ocpsoft.rewrite.servlet.spi.RequestCycleWrapper; | ||
import org.ocpsoft.rewrite.event.Rewrite; | ||
import org.ocpsoft.rewrite.servlet.http.event.HttpServletRewrite; | ||
import org.ocpsoft.rewrite.servlet.spi.RequestCycleWrapper; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,18 +13,17 @@ | |
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.ocpsoft.rewrite.servlet.http; | ||
package org.ocpsoft.rewrite.servlet.http; | ||
|
||
import javax.servlet.http.HttpServletRequest; | ||
import javax.servlet.http.HttpServletResponse; | ||
|
||
import com.ocpsoft.rewrite.event.Rewrite; | ||
import com.ocpsoft.rewrite.servlet.ServletRewriteProvider; | ||
import com.ocpsoft.rewrite.servlet.http.event.HttpServletRewrite; | ||
import com.ocpsoft.rewrite.spi.RewriteProvider; | ||
import org.ocpsoft.rewrite.event.Rewrite; | ||
import org.ocpsoft.rewrite.servlet.ServletRewriteProvider; | ||
import org.ocpsoft.rewrite.servlet.http.event.HttpServletRewrite; | ||
|
||
/** | ||
* A {@link RewriteProvider} that only operates on {@link HttpServletRequest} and {@link HttpServletResponse} request | ||
* A {@link org.ocpsoft.rewrite.spi.RewriteProvider} that only operates on {@link HttpServletRequest} and {@link HttpServletResponse} request | ||
* cycle types. | ||
* | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
|
Oops, something went wrong.