Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2014-2025 the original author or authors.
* Copyright 2014-2026 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -53,12 +53,12 @@ import org.grails.compiler.injection.GrailsASTUtils
import org.grails.compiler.web.ControllerActionTransformer
import org.grails.datastore.mapping.model.config.GormProperties
import org.grails.plugins.web.api.MimeTypesApiSupport
import org.grails.plugins.web.controllers.ControllerExceptionHandlerMetaData
import org.grails.plugins.web.servlet.mvc.InvalidResponseHandler
import org.grails.plugins.web.servlet.mvc.ValidResponseHandler
import org.grails.web.controller.ControllerExceptionHandlerMetaData
import org.grails.web.servlet.mvc.GrailsWebRequest
import org.grails.web.servlet.mvc.InvalidResponseHandler
import org.grails.web.servlet.mvc.SynchronizerTokensHolder
import org.grails.web.servlet.mvc.TokenResponseHandler
import org.grails.web.servlet.mvc.ValidResponseHandler
import org.grails.web.util.GrailsApplicationAttributes

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2014-2025 the original author or authors.
* Copyright 2014-2026 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -54,7 +54,7 @@ import org.grails.web.sitemesh.GrailsLayoutView
import org.grails.web.sitemesh.GroovyPageLayoutFinder
import org.grails.web.util.GrailsApplicationAttributes

import static org.grails.plugins.web.controllers.metaclass.RenderDynamicMethod.*
import static org.grails.web.controller.RenderDynamicMethod.*

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
import org.grails.compiler.injection.TraitInjectionUtils;
import org.grails.core.DefaultGrailsControllerClass;
import org.grails.core.artefact.ControllerArtefactHandler;
import org.grails.plugins.web.controllers.DefaultControllerExceptionHandlerMetaData;
import org.grails.web.controller.DefaultControllerExceptionHandlerMetaData;
import org.grails.web.databinding.DefaultASTDatabindingHelper;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2011-2025 the original author or authors.
* Copyright 2011-2026 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -24,7 +24,7 @@
import grails.compiler.ast.AstTransformer;

import org.grails.compiler.injection.AbstractGrailsArtefactTransformer;
import org.grails.plugins.web.controllers.api.ControllersDomainBindingApi;
import org.grails.web.controller.api.ControllersDomainBindingApi;
import org.grails.web.databinding.DefaultASTDatabindingHelper;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2015-2023 the original author or authors.
* Copyright 2015-2026 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -37,10 +37,10 @@ import grails.web.api.WebAttributes
import grails.web.databinding.DataBinder
import grails.web.mapping.UrlMappingInfo

import org.grails.plugins.web.controllers.metaclass.RenderDynamicMethod
import org.grails.plugins.web.interceptors.GrailsInterceptorHandlerInterceptorAdapter
import org.grails.plugins.web.interceptors.InterceptorArtefactHandler
import org.grails.plugins.web.interceptors.UrlMappingMatcher
import org.grails.web.controller.RenderDynamicMethod
import org.grails.web.mapping.mvc.UrlMappingsHandlerMapping
import org.grails.web.servlet.mvc.GrailsWebRequest
import org.grails.web.servlet.mvc.exceptions.ControllerExecutionException
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.grails.domain.compiler

import grails.persistence.Entity
import org.grails.plugins.web.controllers.api.ControllersDomainBindingApi
import org.grails.web.controller.api.ControllersDomainBindingApi
import spock.lang.Specification

class DomainPropertiesAccessorSpec extends Specification {
Expand Down
1 change: 1 addition & 0 deletions grace-web-mvc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ dependencies {
api project(":grace-gsp")
compileOnly project(":grace-plugin-api")
api project(":grace-web")
api project(":grace-web-databinding")

compileOnlyApi libs.jakarta.servlet
compileOnly libs.spring.boot.autoconfigure
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 the original author or authors.
* Copyright 2013-2026 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.grails.plugins.web.controllers;
package org.grails.web.controller;

/**
* Represents meta data which describes an exception handling method
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013-2022 the original author or authors.
* Copyright 2013-2026 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.grails.plugins.web.controllers
package org.grails.web.controller

import groovy.transform.Immutable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.grails.plugins.web.controllers.metaclass;
package org.grails.web.controller;

/**
* Allows rendering of text, views, and templates to the response
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2011-2023 the original author or authors.
* Copyright 2011-2026 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.grails.plugins.web.controllers.api;
package org.grails.web.controller.api;

import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2014-2022 the original author or authors.
* Copyright 2014-2026 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -13,12 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.grails.plugins.web.servlet.mvc
package org.grails.web.servlet.mvc

import groovy.transform.CompileStatic

import org.grails.web.servlet.mvc.AbstractTokenResponseHandler

/**
* Handles an invalid token response. See {@link org.grails.web.servlet.mvc.TokenResponseHandler}
*
Expand All @@ -32,6 +30,7 @@ class InvalidResponseHandler extends AbstractTokenResponseHandler {
super(false)
}

@Override
protected Object invalidTokenInternal(Closure callable) {
callable?.call()
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2014-2022 the original author or authors.
* Copyright 2014-2026 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -13,12 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.grails.plugins.web.servlet.mvc
package org.grails.web.servlet.mvc

import groovy.transform.CompileStatic

import org.grails.web.servlet.mvc.AbstractTokenResponseHandler

/**
* Handles a valid token response. See {@link org.grails.web.servlet.mvc.TokenResponseHandler}
*
Expand All @@ -35,6 +33,7 @@ class ValidResponseHandler extends AbstractTokenResponseHandler {
this.model = model
}

@Override
protected Object invalidTokenInternal(Closure callable) {
model
}
Expand Down