Package fr.gouv.vitam.common
Class GlobalDataRest
java.lang.Object
fr.gouv.vitam.common.GlobalDataRest
Global Variables and eventually method used by REST services
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringForce update Headerstatic final intFIRST_PRIORITY_FILTERstatic final StringForce update Headerstatic final intSECOND_PRIORITY_FILTERstatic final intnumber of check status retry callstatic final StringTenant List for Initialisation of Tenant Filterstatic final longTimeout for finish worker task in millisecondstatic final StringTransfer Encoding Headerstatic final StringHeader use to have size before swift uploadstatic final StringHeader use to contain the id of the access contractstatic final StringHeader Parameter X_ACTION Is required only if X_ACTION_INIT in (START, NEXT, RESUME, REPLAY, PAUSE) but not INTstatic final StringHeader Parameter X_ACTION_INITstatic final StringAllow cross tenant access request check from Admin Tenantstatic final StringHeader Parameter X_APPLICATION_IDstatic final Stringstatic final StringHeader use to have the body (object) CHUNK sizestatic final StringMax size to retrievestatic final StringOffset of file to retrievestatic final StringThe X-CONTENT-DESTINATIONnofferId destination for copystatic final StringHeader use to have the body (object) size even if Content-Type is chunkedstatic final StringThe X-CONTENT-SOURCE offerId source for copystatic final StringX_CONTEXT_ID : used in case of POST and PUT methods to transmit workFlow execution context(stepByStep or not)static final StringThe X_CSRF_TOKEN headerstatic final StringAsk to request using a http based cursorstatic final StringIdentifier for a Http based cursorstatic final StringTimeout (in epoch) for Http based cursorstatic final StringThe X_DATA_CATEGORY header, used in requests to give data categorystatic final StringDigest valuestatic final StringDigest algorithmstatic final StringOptional.static final StringEvent statusstatic final StringFilename Headerstatic final StringForce operationstatic final StringGlobal execution statestatic final StringGlobal execution statusstatic final StringX_HTTP_METHOD_OVERRIDE : used in case of POST methods overriding GET methodsstatic final StringOptional.static final StringOptional.static final StringObjects Count Headerstatic final StringThe X_OFFER header, used in requests to get data from a specific offerstatic final StringThe X_OFFER_IDS header, used in requests to give list of offer idsstatic final StringThe X_OFFER_NO_CACHE header, used in requests to set cache policy when computing object digeststatic final StringHeader Parameter X_PERSONAL_CERTIFICATEstatic final StringThe X_PLATFORM_ID headerstatic final StringX-Qualifier header used on REST request to identify the concerned qualifierstatic final StringRecursive deletionstatic final StringHeader Parameter X_REQUEST_IDstatic final StringHeader Parameter X_SECURITY_CONTEXT_IDstatic final StringHeader to passe certificate pemstatic final StringThe X_STRATEGY_ID header, used in requests to use a particular strategystatic final StringX-Tenant-Id header used on REST request to identify the concerned tenantstatic final StringThe X_TIMESTAMP headerstatic final StringLogbook type processstatic final StringUnits Count Headerstatic final StringX-Version header used on REST request to identify the concerned version -
Method Summary
-
Field Details
-
X_HTTP_METHOD_OVERRIDE
X_HTTP_METHOD_OVERRIDE : used in case of POST methods overriding GET methods- See Also:
-
X_SECURITY_CONTEXT_ID
Header Parameter X_SECURITY_CONTEXT_ID- See Also:
-
X_APPLICATION_ID
Header Parameter X_APPLICATION_ID- See Also:
-
X_PERSONAL_CERTIFICATE
Header Parameter X_PERSONAL_CERTIFICATE- See Also:
-
X_ACTION
Header Parameter X_ACTION Is required only if X_ACTION_INIT in (START, NEXT, RESUME, REPLAY, PAUSE) but not INT- See Also:
-
X_ACTION_INIT
Header Parameter X_ACTION_INIT- See Also:
-
X_TYPE_PROCESS
Logbook type process- See Also:
-
X_REQUEST_ID
Header Parameter X_REQUEST_ID- See Also:
-
X_TENANT_ID
X-Tenant-Id header used on REST request to identify the concerned tenant- See Also:
-
X_QUALIFIER
X-Qualifier header used on REST request to identify the concerned qualifier- See Also:
-
X_VERSION
X-Version header used on REST request to identify the concerned version- See Also:
-
X_STRATEGY_ID
The X_STRATEGY_ID header, used in requests to use a particular strategy- See Also:
-
X_OFFER_IDS
The X_OFFER_IDS header, used in requests to give list of offer ids- See Also:
-
X_OFFER
The X_OFFER header, used in requests to get data from a specific offer- See Also:
-
X_OFFER_NO_CACHE
The X_OFFER_NO_CACHE header, used in requests to set cache policy when computing object digest- See Also:
-
X_CONTENT_DESTINATION
The X-CONTENT-DESTINATIONnofferId destination for copy- See Also:
-
X_CONTENT_SOURCE
The X-CONTENT-SOURCE offerId source for copy- See Also:
-
X_ADMIN_CROSS_TENANT_ACCESS_REQUEST_ALLOWED
Allow cross tenant access request check from Admin Tenant- See Also:
-
X_PLATFORM_ID
The X_PLATFORM_ID header- See Also:
-
X_TIMESTAMP
The X_TIMESTAMP header- See Also:
-
X_CSRF_TOKEN
The X_CSRF_TOKEN header- See Also:
-
X_CURSOR
Ask to request using a http based cursor- See Also:
-
X_CURSOR_ID
Identifier for a Http based cursor- See Also:
-
X_CURSOR_TIMEOUT
Timeout (in epoch) for Http based cursor- See Also:
-
X_DIGEST
Digest value- See Also:
-
X_DIGEST_ALGORITHM
Digest algorithm- See Also:
-
X_RECURSIVE
Recursive deletion- See Also:
-
X_CHUNK_LENGTH
Header use to have the body (object) CHUNK size- See Also:
-
X_CONTENT_LENGTH
Header use to have the body (object) size even if Content-Type is chunked- See Also:
-
VITAM_CONTENT_LENGTH
Header use to have size before swift upload- See Also:
-
X_SSL_CLIENT_CERT
Header to passe certificate pem- See Also:
-
X_CONTEXT_ID
X_CONTEXT_ID : used in case of POST and PUT methods to transmit workFlow execution context(stepByStep or not)- See Also:
-
X_ACCESS_CONTRAT_ID
Header use to contain the id of the access contract- See Also:
-
X_FILENAME
Filename Header- See Also:
-
TRANSFER_ENCODING_HEADER
Transfer Encoding Header- See Also:
-
X_UNITS_COUNT
Units Count Header- See Also:
-
X_OBJECTS_COUNT
Objects Count Header- See Also:
-
FIRST_PRIORITY_FILTER
public static final int FIRST_PRIORITY_FILTERFIRST_PRIORITY_FILTER- See Also:
-
SECOND_PRIORITY_FILTER
public static final int SECOND_PRIORITY_FILTERSECOND_PRIORITY_FILTER- See Also:
-
X_EVENT_STATUS
Event status- See Also:
-
TENANT_LIST
Tenant List for Initialisation of Tenant Filter- See Also:
-
TIMEOUT_END_WORKER_MILLISECOND
public static final long TIMEOUT_END_WORKER_MILLISECONDTimeout for finish worker task in millisecond- See Also:
-
STATUS_CHECK_RETRY
public static final int STATUS_CHECK_RETRYnumber of check status retry call- See Also:
-
X_GLOBAL_EXECUTION_STATE
Global execution state- See Also:
-
X_GLOBAL_EXECUTION_STATUS
Global execution status- See Also:
-
FORCE_UPDATE
Force update Header- See Also:
-
X_FORCE
Force operation- See Also:
-
CHECK_ACCESS_CONTRACT
Force update Header- See Also:
-
X_DATA_CATEGORY
The X_DATA_CATEGORY header, used in requests to give data category- See Also:
-
X_CHUNK_OFFSET
Offset of file to retrieve- See Also:
-
X_CHUNK_MAX_SIZE
Max size to retrieve- See Also:
-
X_MANIFEST_DIGEST_VALUE
Optional. Expected digest value of the manifest file within the SIP archive. If provided, manifest digest algorithm must be specified also.- See Also:
-
X_MANIFEST_DIGEST_ALGORITHM
Optional. Expected digest algorithm of the manifest file within the SIP archive. If provided, manifest digest value must be specified also.- See Also:
-
X_ENCODING
Optional. ZIP encoding. Use Content-Encoding ?- See Also:
-
X_ATTACHEMENT_ID
- See Also:
-