public class AvroHttpRequest extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
AvroHttpRequest.Builder
RecordBuilder for AvroHttpRequest instances. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
CharSequence | 
httpMethod
Deprecated.  
 | 
ByteBuffer | 
inputStream
Deprecated.  
 | 
CharSequence | 
pathInfo
Deprecated.  
 | 
CharSequence | 
queryString
Deprecated.  
 | 
CharSequence | 
requestUrl
Deprecated.  
 | 
static org.apache.avro.Schema | 
SCHEMA$  | 
| Constructor and Description | 
|---|
AvroHttpRequest()
Default constructor. 
 | 
AvroHttpRequest(CharSequence requestUrl,
                              CharSequence pathInfo,
                              CharSequence queryString,
                              CharSequence httpMethod,
                              ByteBuffer inputStream)
All-args constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
get(int field$)  | 
static org.apache.avro.Schema | 
getClassSchema()  | 
CharSequence | 
getHttpMethod()
Gets the value of the 'httpMethod' field. 
 | 
ByteBuffer | 
getInputStream()
Gets the value of the 'inputStream' field. 
 | 
CharSequence | 
getPathInfo()
Gets the value of the 'pathInfo' field. 
 | 
CharSequence | 
getQueryString()
Gets the value of the 'queryString' field. 
 | 
CharSequence | 
getRequestUrl()
Gets the value of the 'requestUrl' field. 
 | 
org.apache.avro.Schema | 
getSchema()  | 
static AvroHttpRequest.Builder | 
newBuilder()
Creates a new AvroHttpRequest RecordBuilder 
 | 
static AvroHttpRequest.Builder | 
newBuilder(AvroHttpRequest.Builder other)
Creates a new AvroHttpRequest RecordBuilder by copying an existing Builder 
 | 
static AvroHttpRequest.Builder | 
newBuilder(AvroHttpRequest other)
Creates a new AvroHttpRequest RecordBuilder by copying an existing AvroHttpRequest instance 
 | 
void | 
put(int field$,
      Object value$)  | 
void | 
setHttpMethod(CharSequence value)
Sets the value of the 'httpMethod' field. 
 | 
void | 
setInputStream(ByteBuffer value)
Sets the value of the 'inputStream' field. 
 | 
void | 
setPathInfo(CharSequence value)
Sets the value of the 'pathInfo' field. 
 | 
void | 
setQueryString(CharSequence value)
Sets the value of the 'queryString' field. 
 | 
void | 
setRequestUrl(CharSequence value)
Sets the value of the 'requestUrl' field. 
 | 
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence requestUrl
@Deprecated public CharSequence pathInfo
@Deprecated public CharSequence queryString
@Deprecated public CharSequence httpMethod
@Deprecated public ByteBuffer inputStream
public AvroHttpRequest()
newBuilder().public AvroHttpRequest(CharSequence requestUrl, CharSequence pathInfo, CharSequence queryString, CharSequence httpMethod, ByteBuffer inputStream)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$, Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic CharSequence getRequestUrl()
public void setRequestUrl(CharSequence value)
value - the value to set.public CharSequence getPathInfo()
public void setPathInfo(CharSequence value)
value - the value to set.public CharSequence getQueryString()
public void setQueryString(CharSequence value)
value - the value to set.public CharSequence getHttpMethod()
public void setHttpMethod(CharSequence value)
value - the value to set.public ByteBuffer getInputStream()
public void setInputStream(ByteBuffer value)
value - the value to set.public static AvroHttpRequest.Builder newBuilder()
public static AvroHttpRequest.Builder newBuilder(AvroHttpRequest.Builder other)
public static AvroHttpRequest.Builder newBuilder(AvroHttpRequest other)
Copyright © 2015 The Apache Software Foundation. All rights reserved.