Class OfbizUrlBuilder


  • public final class OfbizUrlBuilder
    extends java.lang.Object
    OFBiz URL builder.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String module  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean buildFullUrl​(java.lang.Appendable buffer, java.lang.String url, boolean useSSL)
      Builds a full URL - including scheme, host, servlet path and resource.
      boolean buildHostPart​(java.lang.Appendable buffer, java.lang.String url, boolean useSSL)
      Builds a partial URL - including the scheme and host, but not the servlet path or resource.
      void buildPathPart​(java.lang.Appendable buffer, java.lang.String url)
      Builds a partial URL - including the servlet path and resource, but not the scheme or host.
      static OfbizUrlBuilder from​(HttpServletRequest request)
      Returns an OfbizUrlBuilder instance.
      static OfbizUrlBuilder from​(ComponentConfig.WebappInfo webAppInfo, Delegator delegator)
      Returns an OfbizUrlBuilder instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait