Download forest Free Java Code

Description

a Java framework for REST.

Icons

forest

Source Files

The download file forest-master.zip has the following entries.


.gitignore/*www .j a  v a  2 s.  c o m*/
README
RELEASE
core/pom.xml
core/src/main/java/com/jayway/forest/constraint/Constraint.java
core/src/main/java/com/jayway/forest/constraint/ConstraintEvaluator.java
core/src/main/java/com/jayway/forest/constraint/DoNotDiscover.java
core/src/main/java/com/jayway/forest/constraint/Doc.java
core/src/main/java/com/jayway/forest/constraint/RolesInContext.java
core/src/main/java/com/jayway/forest/constraint/RolesNotInContext.java
core/src/main/java/com/jayway/forest/core/Application.java
core/src/main/java/com/jayway/forest/core/ForestCore.java
core/src/main/java/com/jayway/forest/core/JSONHelper.java
core/src/main/java/com/jayway/forest/core/MediaTypeHandler.java
core/src/main/java/com/jayway/forest/core/PathAndMethod.java
core/src/main/java/com/jayway/forest/core/ResourceUtil.java
core/src/main/java/com/jayway/forest/core/RoleManager.java
core/src/main/java/com/jayway/forest/di/DependencyInjectionSPI.java
core/src/main/java/com/jayway/forest/di/grove/GroveDependencyInjectionImpl.java
core/src/main/java/com/jayway/forest/di/spring/DelegatingServletProxy.java
core/src/main/java/com/jayway/forest/di/spring/SpringDependencyInjectionImpl.java
core/src/main/java/com/jayway/forest/exceptions/AbstractHtmlException.java
core/src/main/java/com/jayway/forest/exceptions/BadRequestException.java
core/src/main/java/com/jayway/forest/exceptions/BadRequestRenderTemplateException.java
core/src/main/java/com/jayway/forest/exceptions/ConflictException.java
core/src/main/java/com/jayway/forest/exceptions/CreatedException.java
core/src/main/java/com/jayway/forest/exceptions/InternalServerErrorException.java
core/src/main/java/com/jayway/forest/exceptions/MethodNotAllowedException.java
core/src/main/java/com/jayway/forest/exceptions/MethodNotAllowedRenderTemplateException.java
core/src/main/java/com/jayway/forest/exceptions/NotFoundException.java
core/src/main/java/com/jayway/forest/exceptions/RenderTemplateException.java
core/src/main/java/com/jayway/forest/exceptions/UnauthorizedException.java
core/src/main/java/com/jayway/forest/exceptions/UnsupportedMediaTypeException.java
core/src/main/java/com/jayway/forest/exceptions/WrappedException.java
core/src/main/java/com/jayway/forest/mediatype/AbstractMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/SimpleErrorMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/atom/PagedSortedListResponseAtomMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/html/CapabilitiesHtmlMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/html/ErrorHtmlMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/html/FormHtmlMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/html/HtmlMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/html/LinkableHtmlMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/html/PagedSortedListResponseHtmlMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/html/QueryHtmlMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/json/CapabilitiesJsonMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/json/FormJsonMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/json/JsonMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/json/LinkableJsonMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/json/PagedSortedListResponseJsonMessageBodyWriter.java
core/src/main/java/com/jayway/forest/mediatype/json/QueryJsonMessageBodyWriter.java
core/src/main/java/com/jayway/forest/reflection/Capabilities.java
core/src/main/java/com/jayway/forest/reflection/Capability.java
core/src/main/java/com/jayway/forest/reflection/CapabilityReference.java
core/src/main/java/com/jayway/forest/reflection/FormCapability.java
core/src/main/java/com/jayway/forest/reflection/HttpMethodValidator.java
core/src/main/java/com/jayway/forest/reflection/PagingSortingParameter.java
core/src/main/java/com/jayway/forest/reflection/ReflectionUtil.java
core/src/main/java/com/jayway/forest/reflection/impl/CapabilityCommand.java
core/src/main/java/com/jayway/forest/reflection/impl/CapabilityConstraintFailed.java
core/src/main/java/com/jayway/forest/reflection/impl/CapabilityCreateCommand.java
core/src/main/java/com/jayway/forest/reflection/impl/CapabilityDeleteCommand.java
core/src/main/java/com/jayway/forest/reflection/impl/CapabilityIdResource.java
core/src/main/java/com/jayway/forest/reflection/impl/CapabilityLinkable.java
core/src/main/java/com/jayway/forest/reflection/impl/CapabilityNotFound.java
core/src/main/java/com/jayway/forest/reflection/impl/CapabilityQuery.java
core/src/main/java/com/jayway/forest/reflection/impl/CapabilityQueryForList.java
core/src/main/java/com/jayway/forest/reflection/impl/CapabilitySubResource.java
core/src/main/java/com/jayway/forest/reflection/impl/CapabilityUpdateCommand.java
core/src/main/java/com/jayway/forest/reflection/impl/PagedSortedListResponse.java
core/src/main/java/com/jayway/forest/reflection/impl/PagingSortingParameterImpl.java
core/src/main/java/com/jayway/forest/reflection/impl/Parameter.java
core/src/main/java/com/jayway/forest/reflection/impl/SortParameter.java
core/src/main/java/com/jayway/forest/reflection/impl/Touchable.java
core/src/main/java/com/jayway/forest/reflection/impl/UrlParameter.java
core/src/main/java/com/jayway/forest/roles/CreatableResource.java
core/src/main/java/com/jayway/forest/roles/DeletableResource.java
core/src/main/java/com/jayway/forest/roles/DescribedResource.java
core/src/main/java/com/jayway/forest/roles/FieldComparator.java
core/src/main/java/com/jayway/forest/roles/IdDiscoverableResource.java
core/src/main/java/com/jayway/forest/roles/IdResource.java
core/src/main/java/com/jayway/forest/roles/Linkable.java
core/src/main/java/com/jayway/forest/roles/ReadUpdatableResource.java
core/src/main/java/com/jayway/forest/roles/ReadableResource.java
core/src/main/java/com/jayway/forest/roles/Resource.java
core/src/main/java/com/jayway/forest/roles/Template.java
core/src/main/java/com/jayway/forest/roles/UpdatableResource.java
core/src/main/java/com/jayway/forest/roles/UriInfo.java
core/src/main/java/com/jayway/forest/servlet/ExceptionMapper.java
core/src/main/java/com/jayway/forest/servlet/MediaTypeHandlerContainer.java
core/src/main/java/com/jayway/forest/servlet/Response.java
core/src/main/java/com/jayway/forest/servlet/ResponseHandler.java
core/src/main/java/com/jayway/forest/servlet/RestfulServlet.java
core/src/main/resources/com/jayway/forest/atom.vm
core/src/test/java/com/jayway/forest/core/AtomFeedTest.java
core/src/test/java/com/jayway/forest/core/CapabilitiesTest.java
core/src/test/java/com/jayway/forest/core/CommandsTest.java
core/src/test/java/com/jayway/forest/core/ConstraintsTest.java
core/src/test/java/com/jayway/forest/core/CreatableTest.java
core/src/test/java/com/jayway/forest/core/ExceptionsTest.java
core/src/test/java/com/jayway/forest/core/FormParameterTest.java
core/src/test/java/com/jayway/forest/core/JSONApiTest.java
core/src/test/java/com/jayway/forest/core/JSONParsingTest.java
core/src/test/java/com/jayway/forest/core/ListQueriesTest.java
core/src/test/java/com/jayway/forest/core/PathsTest.java
core/src/test/java/com/jayway/forest/core/QueriesTest.java
core/src/test/java/com/jayway/forest/core/TemplateTest.java
core/src/test/java/com/jayway/forest/core/TypeTest.java
core/src/test/java/com/jayway/forest/core/UpdatableTest.java
core/src/test/java/com/jayway/forest/dto/IllegalDTO.java
core/src/test/java/com/jayway/forest/dto/IntegerDTO.java
core/src/test/java/com/jayway/forest/dto/MyLinkable.java
core/src/test/java/com/jayway/forest/dto/StringAndIntegerDTO.java
core/src/test/java/com/jayway/forest/dto/StringDTO.java
core/src/test/java/com/jayway/forest/dto/Value.java
core/src/test/java/com/jayway/forest/dto/WithIterable.java
core/src/test/java/com/jayway/forest/roles/UriInfoTest.java
core/src/test/java/com/jayway/forest/service/AbstractRunner.java
core/src/test/java/com/jayway/forest/service/ConstraintResource.java
core/src/test/java/com/jayway/forest/service/ExceptionsResource.java
core/src/test/java/com/jayway/forest/service/ListResponseResource.java
core/src/test/java/com/jayway/forest/service/OtherResource.java
core/src/test/java/com/jayway/forest/service/RestfulServletService.java
core/src/test/java/com/jayway/forest/service/RootResource.java
core/src/test/java/com/jayway/forest/service/StateHolder.java
core/src/test/java/com/jayway/forest/service/TemplateResource.java
core/src/test/java/com/jayway/forest/service/TypesResource.java
core/src/test/java/com/jayway/forest/service/UpdateResource.java
frontend/jersey/pom.xml
frontend/jersey/src/main/java/com/jayway/forest/frontend/jersey/ForestJerseyService.java
frontend/jersey/src/test/java/com/jayway/forest/frontend/jersey/TheJerseyTest.java
frontend/jersey/src/test/java/com/jayway/forest/frontend/jersey/plain/PlainJerseyService.java
frontend/jersey/src/test/java/com/jayway/forest/frontend/jersey/plain/PlainJerseyTest.java
frontend/jersey/src/test/java/com/jayway/forest/frontend/jersey/plain/PlainSubResource.java
frontend/jersey/src/test/java/com/jayway/forest/frontend/jersey/test/HelloWorldResource.java
frontend/jersey/src/test/java/com/jayway/forest/frontend/jersey/test/IntegerDTO.java
frontend/jersey/src/test/java/com/jayway/forest/frontend/jersey/test/RestService.java
frontend/jersey/src/test/java/com/jayway/forest/frontend/jersey/test/RootResource.java
frontend/jersey/src/test/java/com/jayway/forest/frontend/jersey/test/StringDTO.java
frontend/pom.xml
pom.xml
samples/angrytoday/pom.xml
samples/angrytoday/src/main/java/com/jayway/angrytoday/AngryTodayRestService.java
samples/angrytoday/src/main/java/com/jayway/angrytoday/domain/AngryPost.java
samples/angrytoday/src/main/java/com/jayway/angrytoday/domain/Comment.java
samples/angrytoday/src/main/java/com/jayway/angrytoday/dto/AngryPostDTO.java
samples/angrytoday/src/main/java/com/jayway/angrytoday/repository/AngryTodayRepository.java
samples/angrytoday/src/main/java/com/jayway/angrytoday/resources/AngryCommentResource.java
samples/angrytoday/src/main/java/com/jayway/angrytoday/resources/AngryPostLinkable.java
samples/angrytoday/src/main/java/com/jayway/angrytoday/resources/AngryPostResource.java
samples/angrytoday/src/main/java/com/jayway/angrytoday/resources/RootResource.java
samples/angrytoday/src/main/resources/log4j.xml
samples/angrytoday/src/main/webapp/WEB-INF/web.xml
samples/angrytoday/src/main/webapp/css/master.css
samples/angrytoday/src/main/webapp/html/angry.html
samples/angrytoday/src/main/webapp/html/main.html
samples/angrytoday/src/main/webapp/images/CloseIcon-small.png
samples/angrytoday/src/main/webapp/images/RightArrow.png
samples/angrytoday/src/main/webapp/images/angry_man.png
samples/angrytoday/src/main/webapp/images/background.gif
samples/angrytoday/src/main/webapp/index.html
samples/angrytoday/src/main/webapp/js/angrytoday.js
samples/angrytoday/src/main/webapp/js/include/jquery-1.6.4.min.js
samples/angrytoday/src/main/webapp/js/include/jquery-rest-0.3.js
samples/angrytoday/src/main/webapp/js/include/jquery.ba-bbq.min.js
samples/angrytoday/src/main/webapp/js/include/urlEncode.js
samples/angrytoday/src/test/java/com/jayway/angrytoday/AbstractRunner.java
samples/angrytoday/src/test/java/com/jayway/angrytoday/AngryTodayTest.java
samples/bank/README
samples/bank/bank-grove/pom.xml
samples/bank/bank-grove/src/main/java/com/jayway/forest/samples/bank/grove/RestService.java
samples/bank/bank-grove/src/main/java/com/jayway/forest/samples/bank/grove/constraints/DepositAllowed.java
samples/bank/bank-grove/src/main/java/com/jayway/forest/samples/bank/grove/constraints/HasCredit.java
samples/bank/bank-grove/src/main/java/com/jayway/forest/samples/bank/grove/constraints/IsWithdrawable.java
samples/bank/bank-grove/src/main/java/com/jayway/forest/samples/bank/grove/resources/RootResource.java
samples/bank/bank-grove/src/main/java/com/jayway/forest/samples/bank/grove/resources/accounts/AccountResource.java
samples/bank/bank-grove/src/main/java/com/jayway/forest/samples/bank/grove/resources/accounts/AccountsResource.java
samples/bank/bank-grove/src/main/resources/log4j.xml
samples/bank/bank-grove/src/main/webapp/WEB-INF/web.xml
samples/bank/bank-grove/src/main/webapp/css/master.css
samples/bank/bank-grove/src/main/webapp/html/account.html
samples/bank/bank-grove/src/main/webapp/html/changeAccountName.html
samples/bank/bank-grove/src/main/webapp/html/main.html
samples/bank/bank-grove/src/main/webapp/index.html
samples/bank/bank-grove/src/main/webapp/js/include/jquery-1.6.4.min.js
samples/bank/bank-grove/src/main/webapp/js/include/jquery.ba-bbq.min.js
samples/bank/bank-grove/src/main/webapp/js/include/urlEncode.js
samples/bank/bank-grove/src/main/webapp/js/lumberjack-0.3.js
samples/bank/bank-grove/src/test/java/com/jayway/forest/samples/bank/grove/resources/accounts/AbstractTestBase.java
samples/bank/bank-grove/src/test/java/com/jayway/forest/samples/bank/grove/resources/accounts/AccountResourceTest.java
samples/bank/bank-jersey/pom.xml
samples/bank/bank-jersey/src/main/java/com/jayway/restfuljersey/samples/bank/jersey/RestService.java
samples/bank/bank-jersey/src/main/java/com/jayway/restfuljersey/samples/bank/jersey/constraints/DepositAllowed.java
samples/bank/bank-jersey/src/main/java/com/jayway/restfuljersey/samples/bank/jersey/constraints/HasCredit.java
samples/bank/bank-jersey/src/main/java/com/jayway/restfuljersey/samples/bank/jersey/constraints/IsWithdrawable.java
samples/bank/bank-jersey/src/main/java/com/jayway/restfuljersey/samples/bank/jersey/resources/RootResource.java
samples/bank/bank-jersey/src/main/java/com/jayway/restfuljersey/samples/bank/jersey/resources/accounts/AccountResource.java
samples/bank/bank-jersey/src/main/java/com/jayway/restfuljersey/samples/bank/jersey/resources/accounts/AccountsResource.java
samples/bank/bank-jersey/src/main/resources/log4j.xml
samples/bank/bank-jersey/src/main/webapp/WEB-INF/web.xml
samples/bank/bank-spring/pom.xml
samples/bank/bank-spring/src/main/java/com/jayway/forest/samples/bank/spring/ApplicationConfig.java
samples/bank/bank-spring/src/main/java/com/jayway/forest/samples/bank/spring/ResourceWithAccount.java
samples/bank/bank-spring/src/main/java/com/jayway/forest/samples/bank/spring/RestService.java
samples/bank/bank-spring/src/main/java/com/jayway/forest/samples/bank/spring/constraints/DepositAllowed.java
samples/bank/bank-spring/src/main/java/com/jayway/forest/samples/bank/spring/constraints/HasCredit.java
samples/bank/bank-spring/src/main/java/com/jayway/forest/samples/bank/spring/constraints/IsWithdrawable.java
samples/bank/bank-spring/src/main/java/com/jayway/forest/samples/bank/spring/resources/AccountResource.java
samples/bank/bank-spring/src/main/java/com/jayway/forest/samples/bank/spring/resources/AccountsResource.java
samples/bank/bank-spring/src/main/java/com/jayway/forest/samples/bank/spring/resources/RootResource.java
samples/bank/bank-spring/src/main/resources/log4j.xml
samples/bank/bank-spring/src/main/webapp/WEB-INF/applicationContext.xml
samples/bank/bank-spring/src/main/webapp/WEB-INF/web.xml
samples/bank/domain/pom.xml
samples/bank/domain/src/main/java/com/jayway/forest/samples/bank/dto/AccountLinkable.java
samples/bank/domain/src/main/java/com/jayway/forest/samples/bank/dto/AccountTransformer.java
samples/bank/domain/src/main/java/com/jayway/forest/samples/bank/dto/TransferToDTO.java
samples/bank/domain/src/main/java/com/jayway/forest/samples/bank/exceptions/CannotDepositException.java
samples/bank/domain/src/main/java/com/jayway/forest/samples/bank/exceptions/OverdrawException.java
samples/bank/domain/src/main/java/com/jayway/forest/samples/bank/model/Account.java
samples/bank/domain/src/main/java/com/jayway/forest/samples/bank/model/AccountManager.java
samples/bank/domain/src/main/java/com/jayway/forest/samples/bank/model/CheckingAccount.java
samples/bank/domain/src/main/java/com/jayway/forest/samples/bank/model/Depositable.java
samples/bank/domain/src/main/java/com/jayway/forest/samples/bank/model/SavingsAccount.java
samples/bank/domain/src/main/java/com/jayway/forest/samples/bank/model/Transaction.java
samples/bank/domain/src/main/java/com/jayway/forest/samples/bank/model/Withdrawable.java
samples/bank/domain/src/main/java/com/jayway/forest/samples/bank/repository/AccountRepository.java
samples/bank/domain/src/main/resources/log4j.xml
samples/bank/pom.xml
samples/pom.xml

Download

Click the following link to download forest-master.zip.

forest-master.zip




















Home »
  Java Free Code »
    Web Framework »




Framework Web
GWT
PlayFramework
PureMVC
RESTful
Servlet
websocket
Wicket