org.apache.cxf.transport.http
Class HttpURLConnectionInfo
java.lang.Object
org.apache.cxf.transport.http.URLConnectionInfo
org.apache.cxf.transport.http.HttpURLConnectionInfo
- Direct Known Subclasses:
- HttpsURLConnectionInfo
public class HttpURLConnectionInfo
- extends URLConnectionInfo
This class contains the information about the HTTP Connection that
will be making an HTTP request. This class should be used
when the getURL().getProtocol() is "http" or "https".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpURLConnectionInfo
public HttpURLConnectionInfo(URL url,
String method)
- This constructor takes the HttpURLConnection and extracts
the httpRequestMethod.
HttpURLConnectionInfo
public HttpURLConnectionInfo(URI uri,
String method)
- This constructor takes the HttpURLConnection and extracts
the httpRequestMethod.
getHttpRequestMethod
public String getHttpRequestMethod()
- This method returns the request method on the represented
HttpURLConnection.
Apache CXF