Apache CXF API

org.apache.cxf.transport.servlet
Class BaseUrlHelper

java.lang.Object
  extended by org.apache.cxf.transport.servlet.BaseUrlHelper

public final class BaseUrlHelper
extends Object


Method Summary
static String getBaseURL(javax.servlet.http.HttpServletRequest request)
          Returns base URL which includes scheme, host, port, Servlet context and servlet paths
static void setAddress(AbstractDestination dest, String absAddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBaseURL

public static String getBaseURL(javax.servlet.http.HttpServletRequest request)
Returns base URL which includes scheme, host, port, Servlet context and servlet paths

Parameters:
request - current HttpServletRequest
Returns:
base URL

setAddress

public static void setAddress(AbstractDestination dest,
                              String absAddress)

Apache CXF API

Apache CXF