String query = method.getQueryString(); if (query != null) { if (query.indexOf("?") != 0) { buffer.append("?"); buffer.append(method.getQueryString());
protected void checkFormLoginQueryString(HttpMethod logonMethod) throws DavMailAuthenticationException { String queryString = logonMethod.getQueryString(); if (queryString != null && (queryString.contains("reason=2") || queryString.contains("reason=4"))) { logonMethod.releaseConnection(); throwAuthenticationFailed(); } }
String fixedQueryString = method.getQueryString(); String variableQueryString = method.getQueryString();
/** * get the URL for jumping to the given location * * @param locationInfo the location * @return the JumpToCode url or null when location is unknown */ public String getUrl(LocationInfo locationInfo) { if (configuration.getBoolean(ConfKeys.JUMP_TO_CODE_AUTO_JUMP_ENABLED, true) && isJumpable(locationInfo)) { HttpMethod method = buildMethod(getUrl(), locationInfo, HttpOperation.JUMP); return String.format("http://%s:%d/?%s", configuration.getString(ConfKeys.JUMP_TO_CODE_HOST, "localhost"), configuration.getInt(ConfKeys.JUMP_TO_CODE_PORT, JumpToCodeService.DEFAULT_PORT), method.getQueryString()); } else { return null; } }
log.info("proxy query string " + method.getQueryString()); return method;
if ( log.isInfoEnabled() ) log.info("proxy query string " + method.getQueryString()); return method;
this.m_httpMethod.getQueryString());
} catch (IOException e) { LOG.error("Fatal transport error: " + e.getMessage()); LOG.error(method.getQueryString()); throw new AnnotationException("Transport error executing HTTP request.",e); } finally {
String query = method.getQueryString(); if (query != null) { if (query.indexOf("?") != 0) { buffer.append("?"); buffer.append(method.getQueryString());
String query = method.getQueryString(); if (query != null) { if (query.indexOf("?") != 0) { buffer.append("?"); buffer.append(method.getQueryString());
httpMethod.getQueryString() + " completed in " + (System.currentTimeMillis() - startTime) + "ms");
String query = method.getQueryString(); if (query != null) { if (query.indexOf("?") != 0) { buffer.append("?"); buffer.append(method.getQueryString());
String query = method.getQueryString(); if (query != null) { if (query.indexOf("?") != 0) { buffer.append("?"); buffer.append(method.getQueryString());
history.setRequestParams(httpMethodProxyRequest.getQueryString() == null ? "" : httpMethodProxyRequest.getQueryString()); history.setRequestHeaders(HttpUtilities.getHeaders(httpMethodProxyRequest)); history.setResponseHeaders(HttpUtilities.getHeaders(httpServletResponse));
public static URI newURI(HttpMethod m, HostConfiguration conf) throws URIException { String scheme = conf.getProtocol().getScheme(); String host = conf.getHost(); int port = conf.getPort(); return new URIBuilder().getURI(scheme, host, port, m.getPath(), m.getQueryString(), m.getParams()); } }