Description

Deploys an incremental zip file and updates the web transport handler mapping.

HTTP Operation

PUT

URI

hostname:port/oemanager/applications/ABL_app_name/webapps/Web_app_name/transports/web/handlers

Content-Type

application/vnd.progress+json

Response codes

200 Successfully deployed incremental zip for Web transport
500 Unable to deploy incremental zip

Command-line example

curl -X GET -u username:password -v http://localhost:16680/oemanager/applications/oepas1/webapps/ROOT/transports/web/handlers

ABL HTTP client example

define variable resp as OpenEdge.Net.HTTP.IHttpResponse.

resp = OpenEdge.Net.HTTP.ClientBuilder:Build():Client
   :Execute(OpenEdge.Net.HTTP.RequestBuilder
      :Get('http://localhost:16680/oemanager/applications/oepas1/webapps/ROOT/transports/web/handlers)
      :UsingBasicAuthentication(new OpenEdge.Net.HTTP.Credentials('PASOE Manager Application', 'username', 'password'))
      :Request
   ).

Request body

{
  "headers": {
    "additionalProp1": [
      "string"
    ],
    "additionalProp2": [
      "string"
    ],
    "additionalProp3": [
      "string"
    ]
  },
  "object": {},
  "contentType": {
    "type": "string",
    "subtype": "string",
    "parameters": {
      "additionalProp1": "string",
      "additionalProp2": "string",
      "additionalProp3": "string"
    },
    "wildcardType": true,
    "wildcardSubtype": true
  },
  "dataHandler": {
    "dataSource": {
      "name": "string",
      "inputStream": {},
      "contentType": "string",
      "outputStream": {}
    },
    "name": "string",
    "inputStream": {},
    "content": {},
    "contentType": "string",
    "outputStream": {},
    "preferredCommands": [
      {
        "commandClass": "string",
        "commandName": "string"
      }
    ],
    "transferDataFlavors": [
      {
        "mimeType": "string",
        "humanPresentableName": "string",
        "primaryType": "string",
        "representationClassInputStream": true,
        "representationClassByteBuffer": true,
        "flavorTextType": true,
        "representationClassReader": true,
        "representationClassCharBuffer": true,
        "subType": "string",
        "representationClassSerializable": true,
        "representationClassRemote": true,
        "mimeTypeSerializedObject": true,
        "defaultRepresentationClassAsString": "string",
        "flavorSerializedObjectType": true,
        "flavorRemoteObjectType": true,
        "flavorJavaFileListType": true
      }
    ],
    "commandMap": {
      "mimeTypes": [
        "string"
      ]
    },
    "allCommands": [
      {
        "commandClass": "string",
        "commandName": "string"
      }
    ]
  },
  "contentDisposition": {
    "type": "string",
    "parameters": {
      "additionalProp1": "string",
      "additionalProp2": "string",
      "additionalProp3": "string"
    },
    "filename": "string"
  },
  "contentId": "string"
}

Response body example

curl -X 'PUT' \
  'http://localhost:9821/oemanager/applications/pas9821/webapps/ROOT/transports/web/handlers' \
  -H 'accept: */*' \
  -H 'Content-Type: application/vnd.progress.paar+zip' \
  -d '{
  "headers": {
    "additionalProp1": [
      "string"
    ],
    "additionalProp2": [
      "string"
    ],
    "additionalProp3": [
      "string"
    ]
  },
  "object": {},
  "contentType": {
    "type": "string",
    "subtype": "string",
    "parameters": {
      "additionalProp1": "string",
      "additionalProp2": "string",
      "additionalProp3": "string"
    },
    "wildcardType": true,
    "wildcardSubtype": true
  },
  "dataHandler": {
    "dataSource": {
      "name": "string",
      "inputStream": {},
      "contentType": "string",
      "outputStream": {}
    },
    "name": "string",
    "inputStream": {},
    "content": {},
    "contentType": "string",
    "outputStream": {},
    "preferredCommands": [
      {
        "commandClass": "string",
        "commandName": "string"
      }
    ],
    "transferDataFlavors": [
      {
        "mimeType": "string",
        "humanPresentableName": "string",
        "primaryType": "string",
        "representationClassInputStream": true,
        "representationClassByteBuffer": true,
        "flavorTextType": true,
        "representationClassReader": true,
        "representationClassCharBuffer": true,
        "subType": "string",
        "representationClassSerializable": true,
        "representationClassRemote": true,
        "mimeTypeSerializedObject": true,
        "defaultRepresentationClassAsString": "string",
        "flavorSerializedObjectType": true,
        "flavorRemoteObjectType": true,
        "flavorJavaFileListType": true
      }
    ],
    "commandMap": {
      "mimeTypes": [
        "string"
      ]
    },
    "allCommands": [
      {
        "commandClass": "string",
        "commandName": "string"
      }
    ]
  },
  "contentDisposition": {
    "type": "string",
    "parameters": {
      "additionalProp1": "string",
      "additionalProp2": "string",
      "additionalProp3": "string"
    },
    "filename": "string"
  },
  "contentId": "string"
}'
Note: Runtime properties come from the instance-name/webapps/webappname/WEB-INF/adapters/soap/runtime.props file. OpenEdge properties come from the instance-name/conf/openedge.properties file.