Package org.appfuse.webapp.client.application.base.security

Examples of org.appfuse.webapp.client.application.base.security.RequestForbidenEvent


      public void onResponseReceived(Request request, Response response) {
        wireLogger.finest("Response received");
        if (Response.SC_UNAUTHORIZED == response.getStatusCode()) {
          eventBus.fireEvent(new AuthRequiredEvent());
        } else   if (Response.SC_FORBIDDEN == response.getStatusCode()) {
          eventBus.fireEvent(new RequestForbidenEvent());
        } else if (Response.SC_OK == response.getStatusCode()) {
          String text = response.getText();
          receiver.onTransportSuccess(text);
        } else {
          String message = response.getStatusCode() + " " + response.getText();
View Full Code Here

TOP

Related Classes of org.appfuse.webapp.client.application.base.security.RequestForbidenEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.