List of usage examples for org.apache.commons.httpclient HttpVersion getMinor
public int getMinor()
From source file:org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.java
public int getResponseCode() { if (responseCode != -1) return responseCode; HttpVersion version = getMethod.getEffectiveVersion(); if (version == null) { responseCode = -1;/*from w w w . j a v a2s .c o m*/ httpVersion = 1; return responseCode; } httpVersion = version.getMinor(); responseCode = getMethod.getStatusCode(); return responseCode; }