クラス Smb2CreateRequest
- java.lang.Object
-
- jcifs.internal.smb2.ServerMessageBlock2
-
- jcifs.internal.smb2.ServerMessageBlock2Request<Smb2CreateResponse>
-
- jcifs.internal.smb2.create.Smb2CreateRequest
-
- すべての実装されたインタフェース:
CommonServerMessageBlock,CommonServerMessageBlockRequest,Request<Smb2CreateResponse>,RequestWithPath,Message,Request
public class Smb2CreateRequest extends ServerMessageBlock2Request<Smb2CreateResponse> implements RequestWithPath
- 作成者:
- mbechler
-
-
フィールドの概要
-
クラスから継承されたフィールド jcifs.internal.smb2.ServerMessageBlock2
SMB2_CANCEL, SMB2_CHANGE_NOTIFY, SMB2_CLOSE, SMB2_CREATE, SMB2_ECHO, SMB2_FLAGS_ASYNC_COMMAND, SMB2_FLAGS_DFS_OPERATIONS, SMB2_FLAGS_PRIORITY_MASK, SMB2_FLAGS_RELATED_OPERATIONS, SMB2_FLAGS_REPLAY_OPERATION, SMB2_FLAGS_SERVER_TO_REDIR, SMB2_FLAGS_SIGNED, SMB2_FLUSH, SMB2_IOCTL, SMB2_LOCK, SMB2_LOGOFF, SMB2_NEGOTIATE, SMB2_OPLOCK_BREAK, SMB2_QUERY_DIRECTORY, SMB2_QUERY_INFO, SMB2_READ, SMB2_SESSION_SETUP, SMB2_SET_INFO, SMB2_TREE_CONNECT, SMB2_TREE_DISCONNECT, SMB2_WRITE
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 Smb2CreateRequest(Configuration config, String name)
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 protected Smb2CreateResponsecreateResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2CreateResponse> req)StringgetDomain()StringgetFullUNCPath()StringgetPath()StringgetServer()booleanisResolveInDfs()protected intreadBytesWireFormat(byte[] buffer, int bufferIndex)voidsetCreateDisposition(int createDisposition)voidsetCreateOptions(int createOptions)voidsetDesiredAccess(int desiredAccess)voidsetFileAttributes(int fileAttributes)voidsetFullUNCPath(String domain, String server, String fullName)voidsetImpersonationLevel(int impersonationLevel)voidsetPath(String path)Strips a leading \voidsetRequestedOplockLevel(byte requestedOplockLevel)voidsetResolveInDfs(boolean resolve)voidsetSecurityFlags(byte securityFlags)voidsetShareAccess(int shareAccess)voidsetSmbCreateFlags(long smbCreateFlags)intsize()StringtoString()protected intwriteBytesWireFormat(byte[] dst, int dstIndex)-
クラスから継承されたメソッド jcifs.internal.smb2.ServerMessageBlock2Request
allowChain, createCancel, encode, getCreditCost, getNext, getOverrideTimeout, getResponse, ignoreDisconnect, initResponse, isCancel, isResponseAsync, setNext, setOverrideTimeout, setRequestCredits, setResponse, setTid, split
-
クラスから継承されたメソッド jcifs.internal.smb2.ServerMessageBlock2
addFlags, chain, clearFlags, decode, decode, equals, getAsyncId, getCommand, getConfig, getCredit, getCreditCharge, getDigest, getErrorContextCount, getErrorData, getFlags, getHeaderStart, getLength, getMid, getNextCommandOffset, getRawPayload, getSessionId, getStatus, getTreeId, hashCode, haveResponse, isAsync, isErrorResponseStatus, isRetainPayload, pad8, readErrorResponse, readHeaderWireFormat, reset, retainPayload, setAsyncId, setCommand, setCredit, setDigest, setExtendedSecurity, setMid, setNext, setRawPayload, setReadSize, setSessionId, setTreeId, setUid, size8, size8, writeHeaderWireFormat
-
インタフェースから継承されたメソッド jcifs.internal.CommonServerMessageBlock
decode, encode, getCommand, getDigest, getMid, reset, setCommand, setDigest, setExtendedSecurity, setMid, setResponse, setSessionId, setUid
-
インタフェースから継承されたメソッド jcifs.util.transport.Message
getRawPayload, isRetainPayload, retainPayload, setRawPayload
-
-
-
-
フィールドの詳細
-
SMB2_OPLOCK_LEVEL_NONE
public static final byte SMB2_OPLOCK_LEVEL_NONE
- 関連項目:
- 定数フィールド値
-
SMB2_OPLOCK_LEVEL_II
public static final byte SMB2_OPLOCK_LEVEL_II
- 関連項目:
- 定数フィールド値
-
SMB2_OPLOCK_LEVEL_EXCLUSIVE
public static final byte SMB2_OPLOCK_LEVEL_EXCLUSIVE
- 関連項目:
- 定数フィールド値
-
SMB2_OPLOCK_LEVEL_BATCH
public static final byte SMB2_OPLOCK_LEVEL_BATCH
- 関連項目:
- 定数フィールド値
-
SMB2_OPLOCK_LEVEL_LEASE
public static final byte SMB2_OPLOCK_LEVEL_LEASE
- 関連項目:
- 定数フィールド値
-
SMB2_IMPERSONATION_LEVEL_ANONYMOUS
public static final int SMB2_IMPERSONATION_LEVEL_ANONYMOUS
- 関連項目:
- 定数フィールド値
-
SMB2_IMPERSONATION_LEVEL_IDENTIFICATION
public static final int SMB2_IMPERSONATION_LEVEL_IDENTIFICATION
- 関連項目:
- 定数フィールド値
-
SMB2_IMPERSONATION_LEVEL_IMPERSONATION
public static final int SMB2_IMPERSONATION_LEVEL_IMPERSONATION
- 関連項目:
- 定数フィールド値
-
SMB2_IMPERSONATION_LEVEL_DELEGATE
public static final int SMB2_IMPERSONATION_LEVEL_DELEGATE
- 関連項目:
- 定数フィールド値
-
FILE_SHARE_READ
public static final int FILE_SHARE_READ
- 関連項目:
- 定数フィールド値
-
FILE_SHARE_WRITE
public static final int FILE_SHARE_WRITE
- 関連項目:
- 定数フィールド値
-
FILE_SHARE_DELETE
public static final int FILE_SHARE_DELETE
- 関連項目:
- 定数フィールド値
-
FILE_SUPERSEDE
public static final int FILE_SUPERSEDE
- 関連項目:
- 定数フィールド値
-
FILE_OPEN
public static final int FILE_OPEN
- 関連項目:
- 定数フィールド値
-
FILE_CREATE
public static final int FILE_CREATE
- 関連項目:
- 定数フィールド値
-
FILE_OPEN_IF
public static final int FILE_OPEN_IF
- 関連項目:
- 定数フィールド値
-
FILE_OVERWRITE
public static final int FILE_OVERWRITE
- 関連項目:
- 定数フィールド値
-
FILE_OVERWRITE_IF
public static final int FILE_OVERWRITE_IF
- 関連項目:
- 定数フィールド値
-
FILE_DIRECTORY_FILE
public static final int FILE_DIRECTORY_FILE
- 関連項目:
- 定数フィールド値
-
FILE_WRITE_THROUGH
public static final int FILE_WRITE_THROUGH
- 関連項目:
- 定数フィールド値
-
FILE_SEQUENTIAL_ONLY
public static final int FILE_SEQUENTIAL_ONLY
- 関連項目:
- 定数フィールド値
-
FILE_NO_IMTERMEDIATE_BUFFERING
public static final int FILE_NO_IMTERMEDIATE_BUFFERING
- 関連項目:
- 定数フィールド値
-
FILE_SYNCHRONOUS_IO_ALERT
public static final int FILE_SYNCHRONOUS_IO_ALERT
- 関連項目:
- 定数フィールド値
-
FILE_SYNCHRONOUS_IO_NONALERT
public static final int FILE_SYNCHRONOUS_IO_NONALERT
- 関連項目:
- 定数フィールド値
-
FILE_NON_DIRECTORY_FILE
public static final int FILE_NON_DIRECTORY_FILE
- 関連項目:
- 定数フィールド値
-
FILE_COMPLETE_IF_OPLOCKED
public static final int FILE_COMPLETE_IF_OPLOCKED
- 関連項目:
- 定数フィールド値
-
FILE_NO_EA_KNOWLEDGE
public static final int FILE_NO_EA_KNOWLEDGE
- 関連項目:
- 定数フィールド値
-
FILE_OPEN_REMOTE_INSTANCE
public static final int FILE_OPEN_REMOTE_INSTANCE
- 関連項目:
- 定数フィールド値
-
FILE_RANDOM_ACCESS
public static final int FILE_RANDOM_ACCESS
- 関連項目:
- 定数フィールド値
-
FILE_DELETE_ON_CLOSE
public static final int FILE_DELETE_ON_CLOSE
- 関連項目:
- 定数フィールド値
-
FILE_OPEN_BY_FILE_ID
public static final int FILE_OPEN_BY_FILE_ID
- 関連項目:
- 定数フィールド値
-
FILE_OPEN_FOR_BACKUP_INTENT
public static final int FILE_OPEN_FOR_BACKUP_INTENT
- 関連項目:
- 定数フィールド値
-
FILE_NO_COMPRESSION
public static final int FILE_NO_COMPRESSION
- 関連項目:
- 定数フィールド値
-
FILE_OPEN_REQUIRING_OPLOCK
public static final int FILE_OPEN_REQUIRING_OPLOCK
- 関連項目:
- 定数フィールド値
-
FILE_DISALLOW_EXCLUSIVE
public static final int FILE_DISALLOW_EXCLUSIVE
- 関連項目:
- 定数フィールド値
-
FILE_RESERVE_OPFILTER
public static final int FILE_RESERVE_OPFILTER
- 関連項目:
- 定数フィールド値
-
FILE_OPEN_REPARSE_POINT
public static final int FILE_OPEN_REPARSE_POINT
- 関連項目:
- 定数フィールド値
-
FILE_NOP_RECALL
public static final int FILE_NOP_RECALL
- 関連項目:
- 定数フィールド値
-
FILE_OPEN_FOR_FREE_SPACE_QUERY
public static final int FILE_OPEN_FOR_FREE_SPACE_QUERY
- 関連項目:
- 定数フィールド値
-
-
コンストラクタの詳細
-
Smb2CreateRequest
public Smb2CreateRequest(Configuration config, String name)
- パラメータ:
config-name- uncPath to open, strips a leading \
-
-
メソッドの詳細
-
createResponse
protected Smb2CreateResponse createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2CreateResponse> req)
- 定義:
createResponseクラス内ServerMessageBlock2Request<Smb2CreateResponse>- 戻り値:
-
getPath
public String getPath()
- 定義:
getPathインタフェース内RequestWithPath- 戻り値:
- the path to the resource (below share)
- 関連項目:
RequestWithPath.getPath()
-
getFullUNCPath
public String getFullUNCPath()
- 定義:
getFullUNCPathインタフェース内RequestWithPath- 戻り値:
- the full UNC path
- 関連項目:
RequestWithPath.getFullUNCPath()
-
getServer
public String getServer()
- 定義:
getServerインタフェース内RequestWithPath- 戻り値:
- the server name
- 関連項目:
RequestWithPath.getServer()
-
getDomain
public String getDomain()
- 定義:
getDomainインタフェース内RequestWithPath- 戻り値:
- the domain name
- 関連項目:
RequestWithPath.getDomain()
-
setFullUNCPath
public void setFullUNCPath(String domain, String server, String fullName)
- 定義:
setFullUNCPathインタフェース内RequestWithPath- パラメータ:
fullName- the fullName to set
-
setPath
public void setPath(String path)
Strips a leading \- 定義:
setPathインタフェース内RequestWithPath- 関連項目:
RequestWithPath.setPath(java.lang.String)
-
setResolveInDfs
public void setResolveInDfs(boolean resolve)
- 定義:
setResolveInDfsインタフェース内RequestWithPath- 関連項目:
RequestWithPath.setResolveInDfs(boolean)
-
isResolveInDfs
public boolean isResolveInDfs()
- 定義:
isResolveInDfsインタフェース内RequestWithPath- 戻り値:
- whether to resolve the request path in DFS
- 関連項目:
RequestWithPath.isResolveInDfs()
-
setSecurityFlags
public void setSecurityFlags(byte securityFlags)
- パラメータ:
securityFlags- the securityFlags to set
-
setRequestedOplockLevel
public void setRequestedOplockLevel(byte requestedOplockLevel)
- パラメータ:
requestedOplockLevel- the requestedOplockLevel to set
-
setImpersonationLevel
public void setImpersonationLevel(int impersonationLevel)
- パラメータ:
impersonationLevel- the impersonationLevel to set
-
setSmbCreateFlags
public void setSmbCreateFlags(long smbCreateFlags)
- パラメータ:
smbCreateFlags- the smbCreateFlags to set
-
setDesiredAccess
public void setDesiredAccess(int desiredAccess)
- パラメータ:
desiredAccess- the desiredAccess to set
-
setFileAttributes
public void setFileAttributes(int fileAttributes)
- パラメータ:
fileAttributes- the fileAttributes to set
-
setShareAccess
public void setShareAccess(int shareAccess)
- パラメータ:
shareAccess- the shareAccess to set
-
setCreateDisposition
public void setCreateDisposition(int createDisposition)
- パラメータ:
createDisposition- the createDisposition to set
-
setCreateOptions
public void setCreateOptions(int createOptions)
- パラメータ:
createOptions- the createOptions to set
-
size
public int size()
- 定義:
sizeインタフェース内CommonServerMessageBlockRequest- 戻り値:
- the size of this message
- 関連項目:
CommonServerMessageBlockRequest.size()
-
writeBytesWireFormat
protected int writeBytesWireFormat(byte[] dst, int dstIndex)
-
readBytesWireFormat
protected int readBytesWireFormat(byte[] buffer, int bufferIndex)
-
toString
public String toString()
- オーバーライド:
toStringクラス内ServerMessageBlock2
-
-