Example usage for org.apache.commons.httpclient HostConfiguration getPort

List of usage examples for org.apache.commons.httpclient HostConfiguration getPort

Introduction

In this page you can find the example usage for org.apache.commons.httpclient HostConfiguration getPort.

Prototype

public int getPort() 

Source Link

Usage

From source file:smartrics.rest.fitnesse.fixture.support.http.DeleteMethod.java

@SuppressWarnings("deprecation")
public URI getURI() throws URIException {
    HostConfiguration conf = super.getHostConfiguration();
    String scheme = conf.getProtocol().getScheme();
    String host = conf.getHost();
    int port = conf.getPort();
    return new URIBuilder().getURI(scheme, host, port, getPath(), getQueryString(), getParams());
}