Class MultipartRequestInputFactory
- java.lang.Object
- 
- org.opendaylight.openflowplugin.impl.common.MultipartRequestInputFactory
 
- 
 public final class MultipartRequestInputFactory extends Object openflowplugin-impl org.opendaylight.openflowplugin.impl.common Factory class is designed for easy producing a MultipartRequestInput. Class should help to understand a relationship betweenMultipartTypeandMultipartRequestInputwithout touch OF specification 1.3.2 - a section 7.3.5. Multipart Messages
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static OfHeadermakeMultipartRequest(org.opendaylight.yangtools.yang.common.Uint32 xid, org.opendaylight.yangtools.yang.common.Uint8 version, @NonNull MultipartType type, boolean canUseSingleLayer)Method validate input and makesOfHeaderfrom input values.
 
- 
- 
- 
Method Detail- 
makeMultipartRequestpublic static OfHeader makeMultipartRequest(org.opendaylight.yangtools.yang.common.Uint32 xid, org.opendaylight.yangtools.yang.common.Uint8 version, @NonNull MultipartType type, boolean canUseSingleLayer) Method validate input and makesOfHeaderfrom input values. Method set a moreRequest marker to false and it creates default empty multipart request body byMultipartType- Parameters:
- xid- xid
- version- OpenFlow version
- type- multipart type
- canUseSingleLayer- can use single layer serialization
- Returns:
- multipart request
 
 
- 
 
-