API version:
Show / Hide Table of Contents

Class JsonPayloadHandler

A payload handler that serializes the payload to json.

Inheritance
System.Object
PayloadHandler
JsonPayloadHandler
Implements
IPayloadHandler
Inherited Members
PayloadHandler.ContentType
PayloadHandler.ContentTransferEncoding
PayloadHandler.GetBody(HttpRequest)
PayloadHandler.SetHttpRequestMessageContent(HttpRequest, HttpRequestMessage)
PayloadHandler.Default
PayloadHandler.ForContentType(String)
PayloadHandler.TryRegister<T>()
PayloadHandler.TryRegister(IPayloadHandler)
PayloadHandler.ValidateRequest(HttpRequest)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Okta.Sdk.Internal
Assembly: Okta.Sdk.dll
Syntax
public class JsonPayloadHandler : PayloadHandler, IPayloadHandler

Constructors

JsonPayloadHandler()

Initializes a new instance of the JsonPayloadHandler class.

Declaration
public JsonPayloadHandler()

Methods

GetRequestHttpContent(HttpRequest)

Get content for the specified request.

Declaration
protected override HttpContent GetRequestHttpContent(HttpRequest httpRequest)
Parameters
Type Name Description
HttpRequest httpRequest

The request whose content is returned.

Returns
Type Description
System.Net.Http.HttpContent

Content for the specified request.

Overrides
PayloadHandler.GetRequestHttpContent(HttpRequest)

Implements

IPayloadHandler
Back to top Copyright © 2021 Okta, Inc.
Generated with DocFx.