パッケージ jcifs.smb1.http
クラス NtlmHttpURLConnection
- java.lang.Object
-
- java.net.URLConnection
-
- java.net.HttpURLConnection
-
- jcifs.smb1.http.NtlmHttpURLConnection
-
public class NtlmHttpURLConnection extends HttpURLConnection
Wraps anHttpURLConnectionto provide NTLM authentication services. Please read Using jCIFS NTLM Authentication for HTTP Connections.
-
-
フィールドの概要
-
クラスから継承されたフィールド java.net.HttpURLConnection
chunkLength, fixedContentLength, fixedContentLengthLong, HTTP_ACCEPTED, HTTP_BAD_GATEWAY, HTTP_BAD_METHOD, HTTP_BAD_REQUEST, HTTP_CLIENT_TIMEOUT, HTTP_CONFLICT, HTTP_CREATED, HTTP_ENTITY_TOO_LARGE, HTTP_FORBIDDEN, HTTP_GATEWAY_TIMEOUT, HTTP_GONE, HTTP_INTERNAL_ERROR, HTTP_LENGTH_REQUIRED, HTTP_MOVED_PERM, HTTP_MOVED_TEMP, HTTP_MULT_CHOICE, HTTP_NO_CONTENT, HTTP_NOT_ACCEPTABLE, HTTP_NOT_AUTHORITATIVE, HTTP_NOT_FOUND, HTTP_NOT_IMPLEMENTED, HTTP_NOT_MODIFIED, HTTP_OK, HTTP_PARTIAL, HTTP_PAYMENT_REQUIRED, HTTP_PRECON_FAILED, HTTP_PROXY_AUTH, HTTP_REQ_TOO_LONG, HTTP_RESET, HTTP_SEE_OTHER, HTTP_SERVER_ERROR, HTTP_UNAUTHORIZED, HTTP_UNAVAILABLE, HTTP_UNSUPPORTED_TYPE, HTTP_USE_PROXY, HTTP_VERSION, instanceFollowRedirects, method, responseCode, responseMessage
-
クラスから継承されたフィールド java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 NtlmHttpURLConnection(HttpURLConnection connection)
-
メソッドの概要
-
クラスから継承されたメソッド java.net.HttpURLConnection
getFollowRedirects, setAuthenticator, setChunkedStreamingMode, setFixedLengthStreamingMode, setFixedLengthStreamingMode, setFollowRedirects
-
クラスから継承されたメソッド java.net.URLConnection
getConnectTimeout, getContentLengthLong, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getFileNameMap, getHeaderFieldLong, getReadTimeout, guessContentTypeFromName, guessContentTypeFromStream, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setFileNameMap, setReadTimeout
-
-
-
-
コンストラクタの詳細
-
NtlmHttpURLConnection
public NtlmHttpURLConnection(HttpURLConnection connection)
-
-
メソッドの詳細
-
connect
public void connect() throws IOException- 定義:
connectクラス内URLConnection- 例外:
IOException
-
getURL
public URL getURL()
- オーバーライド:
getURLクラス内URLConnection
-
getContentLength
public int getContentLength()
- オーバーライド:
getContentLengthクラス内URLConnection
-
getContentType
public String getContentType()
- オーバーライド:
getContentTypeクラス内URLConnection
-
getContentEncoding
public String getContentEncoding()
- オーバーライド:
getContentEncodingクラス内URLConnection
-
getExpiration
public long getExpiration()
- オーバーライド:
getExpirationクラス内URLConnection
-
getDate
public long getDate()
- オーバーライド:
getDateクラス内URLConnection
-
getLastModified
public long getLastModified()
- オーバーライド:
getLastModifiedクラス内URLConnection
-
getHeaderField
public String getHeaderField(String header)
- オーバーライド:
getHeaderFieldクラス内URLConnection
-
getHeaderFields
public Map getHeaderFields()
- オーバーライド:
getHeaderFieldsクラス内URLConnection
-
getHeaderFieldInt
public int getHeaderFieldInt(String header, int def)
- オーバーライド:
getHeaderFieldIntクラス内URLConnection
-
getHeaderFieldDate
public long getHeaderFieldDate(String header, long def)
- オーバーライド:
getHeaderFieldDateクラス内HttpURLConnection
-
getHeaderFieldKey
public String getHeaderFieldKey(int index)
- オーバーライド:
getHeaderFieldKeyクラス内HttpURLConnection
-
getHeaderField
public String getHeaderField(int index)
- オーバーライド:
getHeaderFieldクラス内HttpURLConnection
-
getContent
public Object getContent() throws IOException
- オーバーライド:
getContentクラス内URLConnection- 例外:
IOException
-
getContent
public Object getContent(Class[] classes) throws IOException
- オーバーライド:
getContentクラス内URLConnection- 例外:
IOException
-
getPermission
public Permission getPermission() throws IOException
- オーバーライド:
getPermissionクラス内HttpURLConnection- 例外:
IOException
-
getInputStream
public InputStream getInputStream() throws IOException
- オーバーライド:
getInputStreamクラス内URLConnection- 例外:
IOException
-
getOutputStream
public OutputStream getOutputStream() throws IOException
- オーバーライド:
getOutputStreamクラス内URLConnection- 例外:
IOException
-
toString
public String toString()
- オーバーライド:
toStringクラス内URLConnection
-
setDoInput
public void setDoInput(boolean doInput)
- オーバーライド:
setDoInputクラス内URLConnection
-
getDoInput
public boolean getDoInput()
- オーバーライド:
getDoInputクラス内URLConnection
-
setDoOutput
public void setDoOutput(boolean doOutput)
- オーバーライド:
setDoOutputクラス内URLConnection
-
getDoOutput
public boolean getDoOutput()
- オーバーライド:
getDoOutputクラス内URLConnection
-
setAllowUserInteraction
public void setAllowUserInteraction(boolean allowUserInteraction)
- オーバーライド:
setAllowUserInteractionクラス内URLConnection
-
getAllowUserInteraction
public boolean getAllowUserInteraction()
- オーバーライド:
getAllowUserInteractionクラス内URLConnection
-
setUseCaches
public void setUseCaches(boolean useCaches)
- オーバーライド:
setUseCachesクラス内URLConnection
-
getUseCaches
public boolean getUseCaches()
- オーバーライド:
getUseCachesクラス内URLConnection
-
setIfModifiedSince
public void setIfModifiedSince(long ifModifiedSince)
- オーバーライド:
setIfModifiedSinceクラス内URLConnection
-
getIfModifiedSince
public long getIfModifiedSince()
- オーバーライド:
getIfModifiedSinceクラス内URLConnection
-
getDefaultUseCaches
public boolean getDefaultUseCaches()
- オーバーライド:
getDefaultUseCachesクラス内URLConnection
-
setDefaultUseCaches
public void setDefaultUseCaches(boolean defaultUseCaches)
- オーバーライド:
setDefaultUseCachesクラス内URLConnection
-
setRequestProperty
public void setRequestProperty(String key, String value)
- オーバーライド:
setRequestPropertyクラス内URLConnection
-
addRequestProperty
public void addRequestProperty(String key, String value)
- オーバーライド:
addRequestPropertyクラス内URLConnection
-
getRequestProperty
public String getRequestProperty(String key)
- オーバーライド:
getRequestPropertyクラス内URLConnection
-
getRequestProperties
public Map getRequestProperties()
- オーバーライド:
getRequestPropertiesクラス内URLConnection
-
setInstanceFollowRedirects
public void setInstanceFollowRedirects(boolean instanceFollowRedirects)
- オーバーライド:
setInstanceFollowRedirectsクラス内HttpURLConnection
-
getInstanceFollowRedirects
public boolean getInstanceFollowRedirects()
- オーバーライド:
getInstanceFollowRedirectsクラス内HttpURLConnection
-
setRequestMethod
public void setRequestMethod(String requestMethod) throws ProtocolException
- オーバーライド:
setRequestMethodクラス内HttpURLConnection- 例外:
ProtocolException
-
getRequestMethod
public String getRequestMethod()
- オーバーライド:
getRequestMethodクラス内HttpURLConnection
-
getResponseCode
public int getResponseCode() throws IOException- オーバーライド:
getResponseCodeクラス内HttpURLConnection- 例外:
IOException
-
getResponseMessage
public String getResponseMessage() throws IOException
- オーバーライド:
getResponseMessageクラス内HttpURLConnection- 例外:
IOException
-
disconnect
public void disconnect()
- 定義:
disconnectクラス内HttpURLConnection
-
usingProxy
public boolean usingProxy()
- 定義:
usingProxyクラス内HttpURLConnection
-
getErrorStream
public InputStream getErrorStream()
- オーバーライド:
getErrorStreamクラス内HttpURLConnection
-
-