public class MCwadoUriRequest extends MCdicomRequest
MCwadoUriRequest
class extends MCdicomRequest
class and encapsulates the data of DICOM WADO-URI request
Example of WADO-URI request:
http://localhost:9000/api/wadouri/?requestType=WADO&studyUID=1.2.250.1.59.40211.12345678.678910&seriesUID=1.2.250.1.59.40211.789001276.14556172.67789&objectUID=1.2.250.1.59.40211.2678810.87991027.899772.%2C1.2.250.1.59.40211.2678810.87991027.899772.3&contentType=application%2Fdicom&anonymize=yes&transferSyntax=1.2.840.10008.1.2.4.50
Note: percent encoded characters (comma, slash) in red.
Modifier and Type | Method and Description |
---|---|
static MCwadoUriRequest |
create(MChttpMethod httpMethod,
java.net.URI uri,
java.util.Collection<org.apache.http.Header> headers,
java.io.ByteArrayOutputStream requestBody,
MCparameter[] parms)
Creates
MCwadoUriRequest object |
static java.util.Collection<MCmediaType> |
getSupportedMediaTypes()
Gets the list of
MCmediaType supported media types for DICOM WADO-URI request |
boolean |
validateRequest()
Validates
MCwadoUriRequest WADO-URI request |
create, getAccept, getActionType, getCacheControl, getCharset, getContentType, getDicomLevel, getDicomMessages, getDicomRoot, getHeaders, getHttpStatus, getHttpStatusMessage, getQuery, getRequestBody, getRequestParameters, getRequestType, getSegments, getUri, getXmlParameters, populate
public static java.util.Collection<MCmediaType> getSupportedMediaTypes()
MCmediaType
supported media types for DICOM WADO-URI requestMCmediaType
supported media types for DICOM WADO-URI requestpublic static MCwadoUriRequest create(MChttpMethod httpMethod, java.net.URI uri, java.util.Collection<org.apache.http.Header> headers, java.io.ByteArrayOutputStream requestBody, MCparameter[] parms)
MCwadoUriRequest
objecthttpMethod
- the MChttpMethod
for the requesturi
- URI
of DICOM WADO-URI requestheaders
- List of Apache Header
Http headersrequestBody
- ByteArrayOutputStream
Http body contentparms
- An array of MCparameter
WADO request parametersMCwadoUriRequest
objectpublic boolean validateRequest()
MCwadoUriRequest
WADO-URI requestvalidateRequest
in class MCdicomRequest
true
if WADO-URI request is valid