public String getType() {
            if (type == null) {
                return name();
            }
            else {
                return type;
            }
        }
Returns the type that will be displayed to the client.

@return the type that will be displayed to the client.
xmppserver/src/main/java/org/jivesoftware/openfire/http/BoshBindingError.java