Examples of removeAttribute()


Examples of anvil.session.Session.removeAttribute()

    if (request.length>2) {
      String id = request[1];
      String name = Conversions.URLDecode(request[2]);
      Session session = _container.getSession(id);
      if (session != null) {
        session.removeAttribute(name);
        output.println("ok");
        output.flush();
        return;
      }
    }
View Full Code Here

Examples of ca.carleton.gcrc.couch.onUpload.conversion.WorkDescriptor.removeAttribute()

    // Remember original attachment
    attDescription.setOriginalAttachment(originalAttachmentName);

    // Remember that work was performed
    work.removeAttribute(UploadConstants.UPLOAD_WORK_UPLOAD_ORIGINAL_IMAGE);
   
    // Save before upload
    conversionContext.saveDocument();
   
    // Upload original file
View Full Code Here

Examples of com.alibaba.dubbo.remoting.Channel.removeAttribute()

    public void removeAttribute(String key) {
        Channel channel = getChannel();
        if (channel == null)
            return;
        channel.removeAttribute(key);
    }

    public boolean hasAttribute(String key) {
        Channel channel = getChannel();
        if (channel == null)
View Full Code Here

Examples of com.britesnow.snow.web.RequestContext.removeAttribute()

        try{
            result = ref.invoke(rc);
        }catch(Exception e){
            logger.error(e.getMessage());
        }finally{
            rc.removeAttribute(FREEMARKER_METHOD_ARGUMENTS);
        }
       
        // TODO Auto-generated method stub
        return result;
    }
View Full Code Here

Examples of com.caucho.bytecode.CodeAttribute.removeAttribute()

      if (extCode.getMaxStack() < baseCode.getMaxStack())
        extCode.setMaxStack(baseCode.getMaxStack());

      // XXX: needs tests badly
      extCode.removeAttribute("LocalVariableTable");
      extCode.removeAttribute("LineNumberTable");
      baseCode.removeAttribute("LocalVariableTable");
      baseCode.removeAttribute("LineNumberTable");

      /*
 
View Full Code Here

Examples of com.caucho.jsp.PageContextImpl.removeAttribute()

    pc.setAttribute("caucho.bundle", bundle);

    if (_prefix != null)
      pc.setAttribute("caucho.bundle.prefix", _prefix);
    else if (_oldPrefix != null)
      pc.removeAttribute("caucho.bundle.prefix");

    return EVAL_BODY_INCLUDE;
  }

  /**
 
View Full Code Here

Examples of com.dotcms.repackage.javax.portlet.PortletSession.removeAttribute()

          ParamUtil.getString(req, "captcha_response"));

        if ((validResponse == null) ||
          (validResponse.equals(Boolean.FALSE))) {

          ses.removeAttribute(
            WebKeys.CAPTCHA, PortletSession.APPLICATION_SCOPE);

          throw new CaptchaException();
        }
      }
View Full Code Here

Examples of com.dotcms.repackage.org.xml.sax.helpers.AttributesImpl.removeAttribute()

        AttributesImpl newAttrs = new AttributesImpl(attributes);
        String href = newAttrs.getValue("href");

        if (href != null) {
            txt.addText(" " + getWithDestination().toLowerCase() + " " + href);
            newAttrs.removeAttribute(newAttrs.getIndex("href"));
        }
        super.addAttributes(txt, newAttrs);
    }

    private String getWithDestination() {
View Full Code Here

Examples of com.esri.gpt.framework.security.identity.IdentityAdapter.removeAttribute()

        idAdapter.addAttribute(u.getDistinguishedName(), attributeName, attributeValue);
      }catch(AttributeInUseException aiue){
        // TODO : do nothing if attribute exists ? or overwrite ?
      }
    }else {
      idAdapter.removeAttribute(u.getDistinguishedName(), attributeName, attributeValue);
    }     
  }
  writeCharacterResponse(response,"{ \"response\" : \"User attribute modification was successful.\" }","UTF-8",mimeType+";charset=UTF-8");
}
View Full Code Here

Examples of com.gargoylesoftware.htmlunit.html.HtmlElement.removeAttribute()

        final HtmlElement element = getDomNodeOrDie();
        if (disabled) {
            element.setAttribute("disabled", "disabled");
        }
        else {
            element.removeAttribute("disabled");
        }
    }

    /**
     * {@inheritDoc}
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.