@Test public void testRemoveEmptyToken() { try { interceptor.removeToken(new TransactionToken("")); interceptor.removeToken(new TransactionToken("a~b~c")); } catch (Exception ex) { fail(); } }
void removeToken(TransactionToken receivedToken) { if (receivedToken.valid()) { tokenStore.remove(receivedToken); } }
TransactionTokenInterceptor implements HandlerInterceptor { void removeToken(TransactionToken receivedToken) { if (receivedToken.valid()) { tokenStore.remove(receivedToken); } } }
TransactionTokenInterceptor implements HandlerInterceptor { void removeToken(TransactionToken receivedToken) { if (receivedToken.valid()) { tokenStore.remove(receivedToken); } } TransactionTokenInterceptor();  TransactionTokenInterceptor(int sizePerTokenName);  TransactionTokenInterceptor(TokenStringGenerator generator,
            TransactionTokenInfoStore tokenInfoStore,
            TransactionTokenStore tokenStore); }
TransactionTokenInterceptor implements HandlerInterceptor { void removeToken(TransactionToken receivedToken) { if (receivedToken.valid()) { tokenStore.remove(receivedToken); } } TransactionTokenInterceptor();  TransactionTokenInterceptor(int sizePerTokenName);  TransactionTokenInterceptor(TokenStringGenerator generator,
            TransactionTokenInfoStore tokenInfoStore,
            TransactionTokenStore tokenStore); @Override boolean preHandle(final HttpServletRequest request,
            final HttpServletResponse response, final Object handler); @Override void postHandle(final HttpServletRequest request,
            final HttpServletResponse response, final Object handler,
            final ModelAndView modelAndView); @Override void afterCompletion(final HttpServletRequest request,
            final HttpServletResponse response, final Object handler,
            final Exception ex); }
TransactionTokenInterceptor implements HandlerInterceptor { void removeToken(TransactionToken receivedToken) { if (receivedToken.valid()) { tokenStore.remove(receivedToken); } } TransactionTokenInterceptor();  TransactionTokenInterceptor(int sizePerTokenName);  TransactionTokenInterceptor(TokenStringGenerator generator,
            TransactionTokenInfoStore tokenInfoStore,
            TransactionTokenStore tokenStore); @Override boolean preHandle(final HttpServletRequest request,
            final HttpServletResponse response, final Object handler); @Override void postHandle(final HttpServletRequest request,
            final HttpServletResponse response, final Object handler,
            final ModelAndView modelAndView); @Override void afterCompletion(final HttpServletRequest request,
            final HttpServletResponse response, final Object handler,
            final Exception ex); static final String TOKEN_CONTEXT_REQUEST_ATTRIBUTE_NAME; static final String NEXT_TOKEN_REQUEST_ATTRIBUTE_NAME; static final String TOKEN_REQUEST_PARAMETER; }