bac730fa1b717351736182034aff62827a383090 |
|
22-Apr-2015 |
Ben McCann <ben@connectifier.com> |
Add missing @since tags for 4.0
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
99233335cc5a3c014f14d29ec28f43f15ff8450d |
|
03-Oct-2014 |
Jonathan Haber <jhaber@hubspot.com> |
Move the references to javax.servlet into the anonymous class
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
4a4d8257ed41d8e2be03fd59a6c9dcf00c2379de |
|
10-May-2014 |
Sam Berlin <sameb@google.com> |
Block when transferring request scope instead of checking owners & throwing exceptions. This lets users delete hacky spin loops. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=66541958
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
c33e73ccd3ca611c26ba823b8fa73fe116dcc926 |
|
10-Mar-2014 |
Sam Berlin <sameb@google.com> |
Improve OutOfScopeException so that it tells you which key it was trying to get. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=62699406
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
883fe035ae3be076486f2d16b8b8216266f1ad6c |
|
10-Mar-2014 |
Sam Berlin <sameb@google.com> |
Make ServletScopes#scopeRequest slightly more efficient for larger seed maps. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=61542674
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
72460885d36e9a09ff351c0976cb85d6639487c0 |
|
06-Dec-2013 |
Sam Berlin <sameb@google.com> |
Fix typo, alertnative -> alternative. (Issue 777.) ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=57755721
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
5e5e2f552430c3b6e352ef43395b20af8688a90e |
|
06-Dec-2013 |
Sam Berlin <sameb@google.com> |
Don't unnecessarily invoke Key#toString() when running in non-HTTP based RequestScope. Key#toString() is not memoized (unlike hashCode) and these allocations end up being consistently visible in our garbage sampling. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=56861670
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
9111f48d5ac9df0504bd0eb702a15eb49383a3dd |
|
15-May-2013 |
Christian Edward Gruber <cgruber@google.com> |
Add a ISE exception subclass for scoping exceptions and document when it will be thrown for all the various methods in ServletScopes.java ------------ Manually synced. COMMIT=32471733
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
7dc62e5869d6d14744cc717b4a3d02e30fa22f66 |
|
27-May-2012 |
Sam Berlin <sameb@google.com> |
Add a new transferRequest method to ServletScopes which propagates all existing scoped objects. Allows servlet engines to detach & reattach threads (while waiting for a request to receive results from RPCs). Revision created by MOE tool push_codebase. MOE_MIGRATION=4874
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
04cdfd9c98f6291d57d295767863f0226a6f97b3 |
|
17-Jan-2012 |
Sam Berlin <sameb@google.com> |
Remove duplicate code & instead delegate to Scopes.isScoped method. Revision created by MOE tool push_codebase. MOE_MIGRATION=4089
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
b2f558228f0b812a38a0c2407baf5826b452cb2c |
|
14-Jan-2012 |
Sam Berlin <sameb@google.com> |
Add ServletScopes.isRequestScoped. Revision created by MOE tool push_codebase. MOE_MIGRATION=4084
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
05bf8e59221197d8e1b8b04bace4ff5cc34e7336 |
|
27-Sep-2011 |
guice.mirrorbot@gmail.com <guice.mirrorbot@gmail.com@d779f126-a31b-0410-b53b-1d3aecad763e> |
Add Scopes.isCircularProxy, for use by Scope implementations. The basic problem is that somewhere along the line, Guice is breaking the type-safety of <T> in the scope(Key<T>, Provider<T>) method. This happens when <T> is involved in a circular dependency, and the ConstructionContext creates a circular proxy for a given 'expectedType' of <T> (the type in the parameter where it's being injected). Expected type is a superclass or superinterface of <T>, not a subclass or subinterface, so if a Scope caches the result of Key<T> -> Provider<T>.get(), and then tries to reuse it, it's possible that we return something that isn't compatible with <T>. This results in either a ClassCastException (if cglib is involved) or IllegalArgumentException (java reflection) when trying to construct the object, because the parameters don't match the arguments. Revision created by MOE tool push_codebase. MOE_MIGRATION=3341 git-svn-id: https://google-guice.googlecode.com/svn/trunk@1586 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
e09d8bf14bab27501df1d19462a0542912022f94 |
|
27-Sep-2011 |
guice.mirrorbot@gmail.com <guice.mirrorbot@gmail.com@d779f126-a31b-0410-b53b-1d3aecad763e> |
Replace the Request/Response Context after each ServletModule-registered Filter. This fixes problems where wrapped request/response classes weren't passed to subsequent filters or servlets in the chain. Revision created by MOE tool push_codebase. MOE_MIGRATION=3340 git-svn-id: https://google-guice.googlecode.com/svn/trunk@1585 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
b7a02b02d81c830d148355c90bc309bcd66fb592 |
|
08-Jul-2011 |
sberlin <sberlin@d779f126-a31b-0410-b53b-1d3aecad763e> |
* Remove unused imports * Sort imports * Convert tabs to spaces * Fix the ant no_aop build Revision created by MOE tool push_codebase. MOE_MIGRATION=2532 git-svn-id: https://google-guice.googlecode.com/svn/trunk@1572 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
ec76179f50f9d8c340b311c6b019c00526566b66 |
|
30-Jun-2011 |
sberlin <sberlin@d779f126-a31b-0410-b53b-1d3aecad763e> |
Restore usernames Revision created by MOE tool push_codebase. MOE_MIGRATION=2449 git-svn-id: https://google-guice.googlecode.com/svn/trunk@1569 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
a23937e0145d7bb4cc0c2169d21023bedee3fdb2 |
|
30-Jun-2011 |
sberlin <sberlin@d779f126-a31b-0410-b53b-1d3aecad763e> |
Minor whitespace & temporary username changes Revision created by MOE tool push_codebase. MOE_MIGRATION=2448 git-svn-id: https://google-guice.googlecode.com/svn/trunk@1568 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
d9c913acca55023ef5d76a32c3d4a51ee6b420cb |
|
26-Jun-2011 |
sberlin <sberlin@d779f126-a31b-0410-b53b-1d3aecad763e> |
switch Guice from manually repackaging Guava to depending on Guava. it's still jarjar'd right now, which is causing a ~400k increase in guice-snapshot.jar. next step is to switch to ProGuard to remove the unnecessary code and cut it back down (even further?!). this will let people build from Guice source and depend directly on Guava code without having to worry about hiding internal/util. git-svn-id: https://google-guice.googlecode.com/svn/trunk@1558 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
b886ce30c72408d8ed953d2bd525607e8f317b12 |
|
01-Dec-2010 |
sberlin <sberlin@d779f126-a31b-0410-b53b-1d3aecad763e> |
rm ServletScopes.nullObject -- use a null value in the map to seed a key with null. git-svn-id: https://google-guice.googlecode.com/svn/trunk@1429 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
21967867cdfe6dbafabdac79bc3cd5c08e359626 |
|
24-Nov-2010 |
sberlin <sberlin@d779f126-a31b-0410-b53b-1d3aecad763e> |
allow scopeRequest/continueRequest to seed with a null value, and also type-check the values immediately. git-svn-id: https://google-guice.googlecode.com/svn/trunk@1424 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
c13b5454a5cfa7d188e9a047017ac0de63ec4dfb |
|
31-Oct-2010 |
sberlin <sberlin@d779f126-a31b-0410-b53b-1d3aecad763e> |
adding more missing @since 3.0 tags. git-svn-id: https://google-guice.googlecode.com/svn/trunk@1335 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
b8d257487b130e10b4649a73680a9c1649f67a5d |
|
20-Sep-2010 |
dhanji <dhanji@d779f126-a31b-0410-b53b-1d3aecad763e> |
Comment wording changed. git-svn-id: https://google-guice.googlecode.com/svn/trunk@1255 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
0693a15423ec35824472a79b98983c3113c4da36 |
|
20-Sep-2010 |
dhanji <dhanji@d779f126-a31b-0410-b53b-1d3aecad763e> |
Support for custom request scopes overloaded onto the @RequestScoped annotation. Also added ability to seed a scope map for both continuing HTTP request scopes as well as custom request scopes. Also changed continuing HTTP requests in other request threads to fail if they happen to run in an HTTP request thread as per sberlin's recommendation. See tests for details git-svn-id: https://google-guice.googlecode.com/svn/trunk@1254 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
1848a29d323bd4d47581ae92b7551f4f236a3883 |
|
14-Sep-2010 |
dhanji <dhanji@d779f126-a31b-0410-b53b-1d3aecad763e> |
Early support for thread-continuation of servlet request. git-svn-id: https://google-guice.googlecode.com/svn/trunk@1230 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|
f8537eaaaf67e36af7469b392a4941e425459991 |
|
22-Aug-2010 |
sberlin <sberlin@d779f126-a31b-0410-b53b-1d3aecad763e> |
move extensions that weren't under extensions/ into that directory. simplify paths so everything is uniform for extensions. git-svn-id: https://google-guice.googlecode.com/svn/trunk@1205 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java
|