Uses of Class
org.apache.juneau.httppart.HttpPartSchema
Packages that use HttpPartSchema
Package
Description
CSV Marshalling Support
HTTP Entity Beans
HTTP Header Beans
HTTP Part Beans
REST Server API
REST Client API
Remote REST API
REST Server Mock API
-
Uses of HttpPartSchema in org.apache.juneau.csv
Methods in org.apache.juneau.csv with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionCsvParserSession.Builder.schema
(HttpPartSchema value) CsvSerializerSession.Builder.schema
(HttpPartSchema value) CsvParserSession.Builder.schemaDefault
(HttpPartSchema value) CsvSerializerSession.Builder.schemaDefault
(HttpPartSchema value) -
Uses of HttpPartSchema in org.apache.juneau.html
Methods in org.apache.juneau.html with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionHtmlDocSerializerSession.Builder.schema
(HttpPartSchema value) HtmlParserSession.Builder.schema
(HttpPartSchema value) HtmlSchemaDocSerializerSession.Builder.schema
(HttpPartSchema value) HtmlSchemaSerializerSession.Builder.schema
(HttpPartSchema value) HtmlSerializerSession.Builder.schema
(HttpPartSchema value) HtmlStrippedDocSerializerSession.Builder.schema
(HttpPartSchema value) HtmlDocSerializerSession.Builder.schemaDefault
(HttpPartSchema value) HtmlParserSession.Builder.schemaDefault
(HttpPartSchema value) HtmlSchemaDocSerializerSession.Builder.schemaDefault
(HttpPartSchema value) HtmlSchemaSerializerSession.Builder.schemaDefault
(HttpPartSchema value) HtmlSerializerSession.Builder.schemaDefault
(HttpPartSchema value) HtmlStrippedDocSerializerSession.Builder.schemaDefault
(HttpPartSchema value) -
Uses of HttpPartSchema in org.apache.juneau.http
Methods in org.apache.juneau.http with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionstatic final SerializedEntity
HttpEntities.serializedEntity
(Object content, Serializer serializer, HttpPartSchema schema) Creates a newSerializedEntity
object.static final SerializedEntity
HttpEntities.serializedEntity
(Supplier<?> content, Serializer serializer, HttpPartSchema schema) Creates a newSerializedEntity
object.static SerializedHeader
HttpHeaders.serializedHeader
(String name, Object value, HttpPartSerializerSession serializer, HttpPartSchema schema, boolean skipIfEmpty) Creates a newSerializedHeader
header.static SerializedHeader
HttpHeaders.serializedHeader
(String name, Supplier<?> value, HttpPartSerializerSession serializer, HttpPartSchema schema, boolean skipIfEmpty) Creates a newSerializedHeader
header. -
Uses of HttpPartSchema in org.apache.juneau.http.entity
Methods in org.apache.juneau.http.entity with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionSerializedEntity.copyWith
(Serializer serializer, HttpPartSchema schema) Copies this bean and sets the serializer and schema on it.SerializedEntity.setSchema
(HttpPartSchema value) Sets the schema on this entity bean.Constructors in org.apache.juneau.http.entity with parameters of type HttpPartSchemaModifierConstructorDescriptionSerializedEntity
(ContentType contentType, Object content, Serializer serializer, HttpPartSchema schema) Constructor. -
Uses of HttpPartSchema in org.apache.juneau.http.header
Methods in org.apache.juneau.http.header that return HttpPartSchemaModifier and TypeMethodDescriptionHeaderBeanMeta.getSchema()
Returns schema information about this header.Methods in org.apache.juneau.http.header with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionSerializedHeader.copyWith
(HttpPartSerializerSession serializer, HttpPartSchema schema) Copies this bean and sets the serializer and schema on it.static SerializedHeader
SerializedHeader.of
(String name, Object value, HttpPartSerializerSession serializer, HttpPartSchema schema, boolean skipIfEmpty) Static creator.static SerializedHeader
SerializedHeader.of
(String name, Supplier<?> value, HttpPartSerializerSession serializer, HttpPartSchema schema, boolean skipIfEmpty) Static creator with delayed value.SerializedHeader.schema
(HttpPartSchema value) Sets the schema object that defines the format of the output.Constructors in org.apache.juneau.http.header with parameters of type HttpPartSchemaModifierConstructorDescriptionSerializedHeader
(String name, Object value, HttpPartSerializerSession serializer, HttpPartSchema schema, boolean skipIfEmpty) Constructor.SerializedHeader
(String name, Supplier<Object> value, HttpPartSerializerSession serializer, HttpPartSchema schema, boolean skipIfEmpty) Constructor with delayed value. -
Uses of HttpPartSchema in org.apache.juneau.http.part
Methods in org.apache.juneau.http.part that return HttpPartSchemaModifier and TypeMethodDescriptionPartBeanMeta.getSchema()
Returns schema information about this part.Methods in org.apache.juneau.http.part with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionSerializedPart.copyWith
(HttpPartSerializerSession serializer, HttpPartSchema schema) Copies this bean and sets the serializer and schema on it.SerializedPart.schema
(HttpPartSchema value) Sets the schema object that defines the format of the output.Constructors in org.apache.juneau.http.part with parameters of type HttpPartSchemaModifierConstructorDescriptionSerializedPart
(String name, Object value, HttpPartType type, HttpPartSerializerSession serializer, HttpPartSchema schema, boolean skipIfEmpty) Constructor. -
Uses of HttpPartSchema in org.apache.juneau.httppart
Fields in org.apache.juneau.httppart declared as HttpPartSchemaModifier and TypeFieldDescriptionstatic final HttpPartSchema
HttpPartSchema.DEFAULT
Reusable instance of this object, all default settings.static final HttpPartSchema
HttpPartSchema.T_ARRAY
Array typestatic final HttpPartSchema
HttpPartSchema.T_ARRAY_CSV
Comma-delimited array typestatic final HttpPartSchema
HttpPartSchema.T_ARRAY_MULTI
Multi-part array typestatic final HttpPartSchema
HttpPartSchema.T_ARRAY_PIPES
Pipe-delimited array typestatic final HttpPartSchema
HttpPartSchema.T_ARRAY_SSV
Space-delimited array typestatic final HttpPartSchema
HttpPartSchema.T_ARRAY_TSV
Tab-delimited array typestatic final HttpPartSchema
HttpPartSchema.T_ARRAY_UON
UON-formatted array typestatic final HttpPartSchema
HttpPartSchema.T_BINARY
Binary typestatic final HttpPartSchema
HttpPartSchema.T_BINARY_SPACED
Spaced binary typestatic final HttpPartSchema
HttpPartSchema.T_BOOLEAN
Boolean typestatic final HttpPartSchema
HttpPartSchema.T_BYTE
Byte typestatic final HttpPartSchema
HttpPartSchema.T_DATE
Date typestatic final HttpPartSchema
HttpPartSchema.T_DATETIME
Date-time typestatic final HttpPartSchema
HttpPartSchema.T_DOUBLE
Double typestatic final HttpPartSchema
HttpPartSchema.T_FILE
File typestatic final HttpPartSchema
HttpPartSchema.T_FLOAT
Float typestatic final HttpPartSchema
HttpPartSchema.T_INT32
Int32 typestatic final HttpPartSchema
HttpPartSchema.T_INT64
Int64 typestatic final HttpPartSchema
HttpPartSchema.T_INTEGER
Integer typestatic final HttpPartSchema
HttpPartSchema.T_NONE
No typestatic final HttpPartSchema
HttpPartSchema.T_NUMBER
Number typestatic final HttpPartSchema
HttpPartSchema.T_OBJECT
Object typestatic final HttpPartSchema
HttpPartSchema.T_OBJECT_CSV
Comma-delimited object typestatic final HttpPartSchema
HttpPartSchema.T_OBJECT_PIPES
Pipe-delimited object typestatic final HttpPartSchema
HttpPartSchema.T_OBJECT_SSV
Space-delimited object typestatic final HttpPartSchema
HttpPartSchema.T_OBJECT_TSV
Tab-delimited object typestatic final HttpPartSchema
HttpPartSchema.T_OBJECT_UON
UON-formated object typestatic final HttpPartSchema
HttpPartSchema.T_STRING
String typestatic final HttpPartSchema
HttpPartSchema.T_UON
UON-formated simple typeMethods in org.apache.juneau.httppart that return HttpPartSchemaModifier and TypeMethodDescriptionHttpPartSchema.Builder.build()
Instantiates a newHttpPartSchema
object based on the configuration of this builder.static HttpPartSchema
HttpPartSchema.create
(Annotation a) Finds the schema information on the specified annotation.static HttpPartSchema
HttpPartSchema.create
(Annotation a, String defaultName) Finds the schema information on the specified annotation.static HttpPartSchema
HttpPartSchema.create
(Class<? extends Annotation> c, Method m) Finds the schema information for the specified method return.static HttpPartSchema
HttpPartSchema.create
(Class<? extends Annotation> c, Type t) Finds the schema information for the specified class.static HttpPartSchema
HttpPartSchema.create
(Class<? extends Annotation> c, ParamInfo mpi) Finds the schema information for the specified method parameter.HttpPartSchema.getItems()
Returns themaximum field of this schema.HttpPartSchema.getProperty
(String name) Returns the schema information for the specified property.Methods in org.apache.juneau.httppart with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionHttpPartSchema.Builder.additionalProperties
(HttpPartSchema value) additionalProperties field.HttpPartSchema.Builder.ap
(HttpPartSchema value) Shortcut foradditionalProperties(value) HttpPartSchema.Builder.i
(HttpPartSchema value) Synonym forHttpPartSchema.Builder.items(HttpPartSchema)
.HttpPartSchema.Builder.items
(HttpPartSchema value) items field.HttpPartSchema.Builder.p
(String key, HttpPartSchema value) Shortcut forproperty(key, value) .<T> T
BaseHttpPartParser.parse
(HttpPartType partType, HttpPartSchema schema, String in, Class<T> toType) Converts the specified input to the specified class type.<T> T
BaseHttpPartParser.parse
(HttpPartType partType, HttpPartSchema schema, String in, Type toType, Type... toTypeArgs) Converts the specified input to the specified class type.<T> T
BaseHttpPartParser.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> T
HttpPartParserSession.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> T
SimplePartParserSession.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) HttpPartSchema.Builder.property
(String key, HttpPartSchema value) properties field.BaseHttpPartSerializer.serialize
(HttpPartType partType, HttpPartSchema schema, Object value) Converts the specified value to a string that can be used as an HTTP header value, query parameter value, form-data parameter, or URI path variable.HttpPartSerializerSession.serialize
(HttpPartType type, HttpPartSchema schema, Object value) Converts the specified value to a string that can be used as an HTTP header value, query parameter value, form-data parameter, or URI path variable.SimplePartSerializerSession.serialize
(HttpPartType type, HttpPartSchema schema, Object value) Constructors in org.apache.juneau.httppart with parameters of type HttpPartSchemaModifierConstructorDescriptionHttpPart
(String name, HttpPartType partType, HttpPartSchema schema, HttpPartSerializerSession serializer, Object part) Constructor. -
Uses of HttpPartSchema in org.apache.juneau.httppart.bean
Methods in org.apache.juneau.httppart.bean that return HttpPartSchemaModifier and TypeMethodDescriptionRequestBeanPropertyMeta.getSchema()
Returns the schema information gathered from annotations on the method and return type.ResponseBeanMeta.getSchema()
Returns the schema information about the response object.ResponseBeanPropertyMeta.getSchema()
Returns the schema information gathered from annotations on the method and return type. -
Uses of HttpPartSchema in org.apache.juneau.json
Methods in org.apache.juneau.json with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionJsonParserSession.Builder.schema
(HttpPartSchema value) JsonSchemaSerializerSession.Builder.schema
(HttpPartSchema value) JsonSerializerSession.Builder.schema
(HttpPartSchema value) JsonParserSession.Builder.schemaDefault
(HttpPartSchema value) JsonSchemaSerializerSession.Builder.schemaDefault
(HttpPartSchema value) JsonSerializerSession.Builder.schemaDefault
(HttpPartSchema value) -
Uses of HttpPartSchema in org.apache.juneau.marshaller
Methods in org.apache.juneau.marshaller with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionstatic String
OpenApi.of
(HttpPartSchema schema, Object object) Serializes a Java object to an OpenApi output.static <T> T
OpenApi.to
(HttpPartSchema schema, String input, Class<T> type) Parses an OpenApi input object to the specified Java type. -
Uses of HttpPartSchema in org.apache.juneau.msgpack
Methods in org.apache.juneau.msgpack with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionMsgPackParserSession.Builder.schema
(HttpPartSchema value) MsgPackSerializerSession.Builder.schema
(HttpPartSchema value) MsgPackParserSession.Builder.schemaDefault
(HttpPartSchema value) MsgPackSerializerSession.Builder.schemaDefault
(HttpPartSchema value) -
Uses of HttpPartSchema in org.apache.juneau.oapi
Methods in org.apache.juneau.oapi with parameters of type HttpPartSchemaModifier and TypeMethodDescription<T> T
OpenApiParserSession.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> type) OpenApiParserSession.Builder.schema
(HttpPartSchema value) OpenApiSerializerSession.Builder.schema
(HttpPartSchema value) OpenApiParserSession.Builder.schemaDefault
(HttpPartSchema value) OpenApiSerializerSession.Builder.schemaDefault
(HttpPartSchema value) OpenApiSerializerSession.serialize
(HttpPartType partType, HttpPartSchema schema, Object value) -
Uses of HttpPartSchema in org.apache.juneau.parser
Methods in org.apache.juneau.parser that return HttpPartSchemaModifier and TypeMethodDescriptionfinal HttpPartSchema
ParserSession.getSchema()
HTTP part schema of object being parsed.Methods in org.apache.juneau.parser with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionInputStreamParserSession.Builder.schema
(HttpPartSchema value) ParserSession.Builder.schema
(HttpPartSchema value) HTTP-part schema.ReaderParserSession.Builder.schema
(HttpPartSchema value) InputStreamParserSession.Builder.schemaDefault
(HttpPartSchema value) ParserSession.Builder.schemaDefault
(HttpPartSchema value) Same asParserSession.Builder.schema(HttpPartSchema)
but doesn't overwrite the value if it is already set.ReaderParserSession.Builder.schemaDefault
(HttpPartSchema value) -
Uses of HttpPartSchema in org.apache.juneau.plaintext
Methods in org.apache.juneau.plaintext with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionPlainTextParserSession.Builder.schema
(HttpPartSchema value) PlainTextSerializerSession.Builder.schema
(HttpPartSchema value) PlainTextParserSession.Builder.schemaDefault
(HttpPartSchema value) PlainTextSerializerSession.Builder.schemaDefault
(HttpPartSchema value) -
Uses of HttpPartSchema in org.apache.juneau.rest
Methods in org.apache.juneau.rest that return types with arguments of type HttpPartSchemaModifier and TypeMethodDescriptionRestResponse.getContentSchema()
Returns the schema of the response content.Methods in org.apache.juneau.rest with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionRestResponse.setContentSchema
(HttpPartSchema schema) Specifies the schema for the response content.RestResponse.setHeader
(HttpPartSchema schema, String name, Object value) Sets a header on the request. -
Uses of HttpPartSchema in org.apache.juneau.rest.client
Methods in org.apache.juneau.rest.client with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionRestRequest.content
(Object input, HttpPartSchema schema) Sets the body of this request.protected Header
RestRequest.createHeader
(String name, Object value, HttpPartSerializer serializer, HttpPartSchema schema, Boolean skipIfEmpty) Creates a new header.protected NameValuePair
RestRequest.createPart
(String name, Object value, HttpPartType type, HttpPartSerializer serializer, HttpPartSchema schema, Boolean skipIfEmpty) Creates a new query/form-data/path part.ResponseContent.schema
(HttpPartSchema value) Specifies the schema for this body.ResponseHeader.schema
(HttpPartSchema value) Specifies the part schema for this header. -
Uses of HttpPartSchema in org.apache.juneau.rest.client.remote
Methods in org.apache.juneau.rest.client.remote that return HttpPartSchemaModifier and TypeMethodDescriptionRemoteOperationArg.getSchema()
Returns the HTTP part schema information about this part. -
Uses of HttpPartSchema in org.apache.juneau.rest.httppart
Methods in org.apache.juneau.rest.httppart that return HttpPartSchemaMethods in org.apache.juneau.rest.httppart with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionRequestFormParam.schema
(HttpPartSchema value) RequestHeader.schema
(HttpPartSchema value) RequestHttpPart.schema
(HttpPartSchema value) Specifies the part schema for this part.RequestPathParam.schema
(HttpPartSchema value) RequestQueryParam.schema
(HttpPartSchema value) RequestContent.setSchema
(HttpPartSchema schema) Sets the schema for this content.Constructors in org.apache.juneau.rest.httppart with parameters of type HttpPartSchemaModifierConstructorDescriptionResponsePartMeta
(HttpPartType partType, HttpPartSchema schema, HttpPartSerializer serializer) Constructor. -
Uses of HttpPartSchema in org.apache.juneau.rest.mock
Methods in org.apache.juneau.rest.mock with parameters of type HttpPartSchema -
Uses of HttpPartSchema in org.apache.juneau.serializer
Methods in org.apache.juneau.serializer that return HttpPartSchemaModifier and TypeMethodDescriptionfinal HttpPartSchema
SerializerSession.getSchema()
HTTP part schema of object being serialized.Methods in org.apache.juneau.serializer with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionOutputStreamSerializerSession.Builder.schema
(HttpPartSchema value) SerializerSession.Builder.schema
(HttpPartSchema value) HTTP-part schema.WriterSerializerSession.Builder.schema
(HttpPartSchema value) OutputStreamSerializerSession.Builder.schemaDefault
(HttpPartSchema value) SerializerSession.Builder.schemaDefault
(HttpPartSchema value) Same asSerializerSession.Builder.schema(HttpPartSchema)
but doesn't overwrite the value if it is already set.WriterSerializerSession.Builder.schemaDefault
(HttpPartSchema value) -
Uses of HttpPartSchema in org.apache.juneau.soap
Methods in org.apache.juneau.soap with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionSoapXmlSerializerSession.Builder.schema
(HttpPartSchema value) SoapXmlSerializerSession.Builder.schemaDefault
(HttpPartSchema value) -
Uses of HttpPartSchema in org.apache.juneau.uon
Methods in org.apache.juneau.uon with parameters of type HttpPartSchemaModifier and TypeMethodDescription<T> T
UonParser.parse
(HttpPartType partType, HttpPartSchema schema, String in, Class<T> toType) Converts the specified input to the specified class type.<T> T
UonParser.parse
(HttpPartType partType, HttpPartSchema schema, String in, Type toType, Type... toTypeArgs) Converts the specified input to the specified class type.<T> T
UonParser.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> T
UonParserSession.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) UonParserSession.Builder.schema
(HttpPartSchema value) UonSerializerSession.Builder.schema
(HttpPartSchema value) UonParserSession.Builder.schemaDefault
(HttpPartSchema value) UonSerializerSession.Builder.schemaDefault
(HttpPartSchema value) UonSerializer.serialize
(HttpPartType partType, HttpPartSchema schema, Object value) Converts the specified value to a string that can be used as an HTTP header value, query parameter value, form-data parameter, or URI path variable.UonSerializerSession.serialize
(HttpPartType type, HttpPartSchema schema, Object value) -
Uses of HttpPartSchema in org.apache.juneau.urlencoding
Methods in org.apache.juneau.urlencoding with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionUrlEncodingParserSession.Builder.schema
(HttpPartSchema value) UrlEncodingSerializerSession.Builder.schema
(HttpPartSchema value) UrlEncodingParserSession.Builder.schemaDefault
(HttpPartSchema value) UrlEncodingSerializerSession.Builder.schemaDefault
(HttpPartSchema value) -
Uses of HttpPartSchema in org.apache.juneau.xml
Methods in org.apache.juneau.xml with parameters of type HttpPartSchemaModifier and TypeMethodDescriptionXmlDocSerializerSession.Builder.schema
(HttpPartSchema value) XmlParserSession.Builder.schema
(HttpPartSchema value) XmlSerializerSession.Builder.schema
(HttpPartSchema value) XmlDocSerializerSession.Builder.schemaDefault
(HttpPartSchema value) XmlParserSession.Builder.schemaDefault
(HttpPartSchema value) XmlSerializerSession.Builder.schemaDefault
(HttpPartSchema value)