public class NtlmHttpURLConnection extends HttpURLConnection
HttpURLConnection to provide NTLM authentication
services.
Please read Using jCIFS NTLM Authentication for HTTP Connections.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, responseMessageallowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| コンストラクタと説明 |
|---|
NtlmHttpURLConnection(HttpURLConnection connection) |
getFollowRedirects, setChunkedStreamingMode, setFixedLengthStreamingMode, setFixedLengthStreamingMode, setFollowRedirectsgetConnectTimeout, getContentLengthLong, getDefaultAllowUserInteraction, getDefaultRequestProperty, getFileNameMap, getHeaderFieldLong, getReadTimeout, guessContentTypeFromName, guessContentTypeFromStream, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setFileNameMap, setReadTimeoutpublic NtlmHttpURLConnection(HttpURLConnection connection)
public void connect()
throws IOException
connect クラス内 URLConnectionIOExceptionpublic URL getURL()
getURL クラス内 URLConnectionpublic int getContentLength()
getContentLength クラス内 URLConnectionpublic String getContentType()
getContentType クラス内 URLConnectionpublic String getContentEncoding()
getContentEncoding クラス内 URLConnectionpublic long getExpiration()
getExpiration クラス内 URLConnectionpublic long getDate()
getDate クラス内 URLConnectionpublic long getLastModified()
getLastModified クラス内 URLConnectionpublic String getHeaderField(String header)
getHeaderField クラス内 URLConnectionpublic Map getHeaderFields()
getHeaderFields クラス内 URLConnectionpublic int getHeaderFieldInt(String header, int def)
getHeaderFieldInt クラス内 URLConnectionpublic long getHeaderFieldDate(String header, long def)
getHeaderFieldDate クラス内 HttpURLConnectionpublic String getHeaderFieldKey(int index)
getHeaderFieldKey クラス内 HttpURLConnectionpublic String getHeaderField(int index)
getHeaderField クラス内 HttpURLConnectionpublic Object getContent() throws IOException
getContent クラス内 URLConnectionIOExceptionpublic Object getContent(Class[] classes) throws IOException
getContent クラス内 URLConnectionIOExceptionpublic Permission getPermission() throws IOException
getPermission クラス内 HttpURLConnectionIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream クラス内 URLConnectionIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream クラス内 URLConnectionIOExceptionpublic String toString()
toString クラス内 URLConnectionpublic void setDoInput(boolean doInput)
setDoInput クラス内 URLConnectionpublic boolean getDoInput()
getDoInput クラス内 URLConnectionpublic void setDoOutput(boolean doOutput)
setDoOutput クラス内 URLConnectionpublic boolean getDoOutput()
getDoOutput クラス内 URLConnectionpublic void setAllowUserInteraction(boolean allowUserInteraction)
setAllowUserInteraction クラス内 URLConnectionpublic boolean getAllowUserInteraction()
getAllowUserInteraction クラス内 URLConnectionpublic void setUseCaches(boolean useCaches)
setUseCaches クラス内 URLConnectionpublic boolean getUseCaches()
getUseCaches クラス内 URLConnectionpublic void setIfModifiedSince(long ifModifiedSince)
setIfModifiedSince クラス内 URLConnectionpublic long getIfModifiedSince()
getIfModifiedSince クラス内 URLConnectionpublic boolean getDefaultUseCaches()
getDefaultUseCaches クラス内 URLConnectionpublic void setDefaultUseCaches(boolean defaultUseCaches)
setDefaultUseCaches クラス内 URLConnectionpublic void setRequestProperty(String key, String value)
setRequestProperty クラス内 URLConnectionpublic void addRequestProperty(String key, String value)
addRequestProperty クラス内 URLConnectionpublic String getRequestProperty(String key)
getRequestProperty クラス内 URLConnectionpublic Map getRequestProperties()
getRequestProperties クラス内 URLConnectionpublic void setInstanceFollowRedirects(boolean instanceFollowRedirects)
setInstanceFollowRedirects クラス内 HttpURLConnectionpublic boolean getInstanceFollowRedirects()
getInstanceFollowRedirects クラス内 HttpURLConnectionpublic void setRequestMethod(String requestMethod) throws ProtocolException
setRequestMethod クラス内 HttpURLConnectionProtocolExceptionpublic String getRequestMethod()
getRequestMethod クラス内 HttpURLConnectionpublic int getResponseCode()
throws IOException
getResponseCode クラス内 HttpURLConnectionIOExceptionpublic String getResponseMessage() throws IOException
getResponseMessage クラス内 HttpURLConnectionIOExceptionpublic void disconnect()
disconnect クラス内 HttpURLConnectionpublic boolean usingProxy()
usingProxy クラス内 HttpURLConnectionpublic InputStream getErrorStream()
getErrorStream クラス内 HttpURLConnectionCopyright © 2016. All rights reserved.