private String buildURI(boolean full) { boolean absolute = full | baseURL != null; StringBuilder builder = new StringBuilder(BUFFER_SIZE); if (baseURL != null) builder.append(baseURL); builder.append(contextPath); String invocationURI = invocation.buildURI(); if (invocationURI.length() > 0 || contextPath.length() == 0) { builder.append("/"); builder.append(invocationURI); } if (InternalUtils.isNonBlank(anchor)) { builder.append("#"); builder.append(anchor); } String fullURI = builder.toString(); return absolute ? fullURI : optimizer.optimizePath(fullURI); }
public List<String> getParameterNames() { return invocation.getParameterNames(); }
public String getParameterValue(String name) { return invocation.getParameterValue(name); }
public void addParameter(String parameterName, String value) { invocation.addParameter(parameterName, value); }