パッケージ jcifs.http
クラス NtlmHttpURLConnection
- java.lang.Object
-
- java.net.URLConnection
-
- java.net.HttpURLConnection
-
- jcifs.http.NtlmHttpURLConnection
-
@Deprecated public class NtlmHttpURLConnection extends HttpURLConnection
推奨されていません。This is broken by design, even a possible vulnerability. Deprecation is conditional on whether future JDK versions will allow to do this safely.Wraps anHttpURLConnectionto provide NTLM authentication services. Please read Using jCIFS NTLM Authentication for HTTP Connections. Warning: Do not use this if there is a chance that you might have multiple connections (even plain HttpURLConnections, for the complete JRE) to the same host with different or mixed anonymous/authenticated credentials. Authenticated connections can/will be reused.
-
-
フィールドの概要
-
クラスから継承されたフィールド 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, CIFSContext tc)推奨されていません。
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 推奨されていないメソッド 修飾子とタイプ メソッド 説明 voidaddRequestProperty(String key, String value)推奨されていません。voidconnect()推奨されていません。voiddisconnect()推奨されていません。booleangetAllowUserInteraction()推奨されていません。intgetConnectTimeout()推奨されていません。ObjectgetContent()推奨されていません。ObjectgetContent(Class[] classes)推奨されていません。StringgetContentEncoding()推奨されていません。intgetContentLength()推奨されていません。StringgetContentType()推奨されていません。longgetDate()推奨されていません。booleangetDefaultUseCaches()推奨されていません。booleangetDoInput()推奨されていません。booleangetDoOutput()推奨されていません。InputStreamgetErrorStream()推奨されていません。longgetExpiration()推奨されていません。StringgetHeaderField(int index)推奨されていません。StringgetHeaderField(String header)推奨されていません。longgetHeaderFieldDate(String header, long def)推奨されていません。intgetHeaderFieldInt(String header, int def)推奨されていません。StringgetHeaderFieldKey(int index)推奨されていません。Map<String,List<String>>getHeaderFields()推奨されていません。longgetIfModifiedSince()推奨されていません。InputStreamgetInputStream()推奨されていません。booleangetInstanceFollowRedirects()推奨されていません。longgetLastModified()推奨されていません。OutputStreamgetOutputStream()推奨されていません。PermissiongetPermission()推奨されていません。intgetReadTimeout()推奨されていません。StringgetRequestMethod()推奨されていません。Map<String,List<String>>getRequestProperties()推奨されていません。StringgetRequestProperty(String key)推奨されていません。intgetResponseCode()推奨されていません。StringgetResponseMessage()推奨されていません。URLgetURL()推奨されていません。booleangetUseCaches()推奨されていません。voidsetAllowUserInteraction(boolean allowUserInteraction)推奨されていません。voidsetConnectTimeout(int timeout)推奨されていません。voidsetDefaultUseCaches(boolean defaultUseCaches)推奨されていません。voidsetDoInput(boolean doInput)推奨されていません。voidsetDoOutput(boolean doOutput)推奨されていません。voidsetIfModifiedSince(long ifModifiedSince)推奨されていません。voidsetInstanceFollowRedirects(boolean instanceFollowRedirects)推奨されていません。voidsetReadTimeout(int timeout)推奨されていません。voidsetRequestMethod(String requestMethod)推奨されていません。voidsetRequestProperty(String key, String value)推奨されていません。voidsetUseCaches(boolean useCaches)推奨されていません。StringtoString()推奨されていません。booleanusingProxy()推奨されていません。-
クラスから継承されたメソッド java.net.HttpURLConnection
getFollowRedirects, setAuthenticator, setChunkedStreamingMode, setFixedLengthStreamingMode, setFixedLengthStreamingMode, setFollowRedirects
-
クラスから継承されたメソッド java.net.URLConnection
getContentLengthLong, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getFileNameMap, getHeaderFieldLong, guessContentTypeFromName, guessContentTypeFromStream, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setFileNameMap
-
-
-
-
コンストラクタの詳細
-
NtlmHttpURLConnection
public NtlmHttpURLConnection(HttpURLConnection connection, CIFSContext tc)
推奨されていません。- パラメータ:
connection- connection to wraptc- context to use
-
-
メソッドの詳細
-
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<String,List<String>> 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
-
getConnectTimeout
public int getConnectTimeout()
推奨されていません。- オーバーライド:
getConnectTimeoutクラス内URLConnection
-
setConnectTimeout
public void setConnectTimeout(int timeout)
推奨されていません。- オーバーライド:
setConnectTimeoutクラス内URLConnection
-
getReadTimeout
public int getReadTimeout()
推奨されていません。- オーバーライド:
getReadTimeoutクラス内URLConnection
-
setReadTimeout
public void setReadTimeout(int timeout)
推奨されていません。- オーバーライド:
setReadTimeoutクラス内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<String,List<String>> 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
-
-