/** * Creates this module using the default values as specified by {@link RestDispatchAsyncModuleBuilder}. */ public RestDispatchAsyncModule() { this(new RestDispatchAsyncModuleBuilder()); }
@Override public CoreModule getCoreModule() { return core().getCoreModule(); } }
@Override protected void configure() { install(new RestDispatchAsyncModule.Builder().xsrfTokenHeaderName(ResourcePaths.XSRF_HEADER) .build()); bindConstant().annotatedWith(SecurityCookie.class).to(ResourcePaths.XSRF_COOKIE); }
@Override protected void configure() { install(new RestDispatchAsyncModule.Builder().xsrfTokenHeaderName(ResourcePaths.XSRF_HEADER) .build()); bindConstant().annotatedWith(SecurityCookie.class).to(ResourcePaths.XSRF_COOKIE); }