Package org.springframework.web.portlet.bind

Examples of org.springframework.web.portlet.bind.PortletRequestBindingException


        throw new PortletRequestMethodNotSupportedException(supportedMethods);
      }
    }
    String[] mappedHeaders = mapping.headers();
    if (!PortletAnnotationMappingUtils.checkHeaders(mappedHeaders, request)) {
      throw new PortletRequestBindingException("Header conditions \"" +
          StringUtils.arrayToDelimitedString(mappedHeaders, ", ") +
          "\" not met for actual request");
    }
  }
View Full Code Here


      }
    }

    public void validate(PortletRequest request) throws PortletException {
      if (!PortletAnnotationMappingUtils.checkHeaders(this.headers, request)) {
        throw new PortletRequestBindingException("Header conditions \"" +
            StringUtils.arrayToDelimitedString(this.headers, ", ") +
            "\" not met for actual request");
      }
      if (!this.methods.isEmpty()) {
        if (!(request instanceof ClientDataRequest)) {
View Full Code Here

      }
      if (request.getParameter("access") != null) {
        throw new IllegalAccessException("portlet-illegalaccess");
      }
      if (request.getParameter("binding") != null) {
        throw new PortletRequestBindingException("portlet-binding");
      }
      if (request.getParameter("generic") != null) {
        throw new Exception("portlet-generic");
      }
      if (request.getParameter("runtime") != null) {
View Full Code Here

    }

    @Override
    public void validate(PortletRequest request) throws PortletException {
      if (!PortletAnnotationMappingUtils.checkHeaders(this.headers, request)) {
        throw new PortletRequestBindingException("Header conditions \"" +
            StringUtils.arrayToDelimitedString(this.headers, ", ") +
            "\" not met for actual request");
      }
      if (!this.methods.isEmpty()) {
        if (!(request instanceof ClientDataRequest)) {
View Full Code Here

      }
      if (request.getParameter("access") != null) {
        throw new IllegalAccessException("portlet-illegalaccess");
      }
      if (request.getParameter("binding") != null) {
        throw new PortletRequestBindingException("portlet-binding");
      }
      if (request.getParameter("generic") != null) {
        throw new Exception("portlet-generic");
      }
      if (request.getParameter("runtime") != null) {
View Full Code Here

TOP

Related Classes of org.springframework.web.portlet.bind.PortletRequestBindingException

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.