id
int32
0
165k
repo
stringlengths
7
58
path
stringlengths
12
218
func_name
stringlengths
3
140
original_string
stringlengths
73
34.1k
language
stringclasses
1 value
code
stringlengths
73
34.1k
code_tokens
list
docstring
stringlengths
3
16k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
105
339
66,000
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanO.java
BeanO.parkHandleList
void parkHandleList() // d662032 { if (connectionHandleList != null) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isDebugEnabled()) Tr.debug(tc, "parkHandleList: " + connectionHandleList); try {...
java
void parkHandleList() // d662032 { if (connectionHandleList != null) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isDebugEnabled()) Tr.debug(tc, "parkHandleList: " + connectionHandleList); try {...
[ "void", "parkHandleList", "(", ")", "// d662032", "{", "if", "(", "connectionHandleList", "!=", "null", ")", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "tc", ".", "isD...
Parks handles in the handle list associated with this bean.
[ "Parks", "handles", "in", "the", "handle", "list", "associated", "with", "this", "bean", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanO.java#L1812-L1829
66,001
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanO.java
BeanO.destroyHandleList
protected final void destroyHandleList() // d662032 { if (connectionHandleList != null) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "destroyHandleList: destroying " + connectionHandleList); connectionHandleList.componentDest...
java
protected final void destroyHandleList() // d662032 { if (connectionHandleList != null) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "destroyHandleList: destroying " + connectionHandleList); connectionHandleList.componentDest...
[ "protected", "final", "void", "destroyHandleList", "(", ")", "// d662032", "{", "if", "(", "connectionHandleList", "!=", "null", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "T...
Destroy the handle list associated with this bean if necessary.
[ "Destroy", "the", "handle", "list", "associated", "with", "this", "bean", "if", "necessary", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanO.java#L1834-L1843
66,002
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanO.java
BeanO.callDispatchEventListeners
protected BeanOCallDispatchToken callDispatchEventListeners (int dispatchEventCode, BeanOCallDispatchToken token) { DispatchEventListenerManager dispatchEventListenerManager = container.ivDispatchEventListenerManager; // d646413.2 DispatchEventListenerCookie[...
java
protected BeanOCallDispatchToken callDispatchEventListeners (int dispatchEventCode, BeanOCallDispatchToken token) { DispatchEventListenerManager dispatchEventListenerManager = container.ivDispatchEventListenerManager; // d646413.2 DispatchEventListenerCookie[...
[ "protected", "BeanOCallDispatchToken", "callDispatchEventListeners", "(", "int", "dispatchEventCode", ",", "BeanOCallDispatchToken", "token", ")", "{", "DispatchEventListenerManager", "dispatchEventListenerManager", "=", "container", ".", "ivDispatchEventListenerManager", ";", "/...
LIDB2775-23.1
[ "LIDB2775", "-", "23", ".", "1" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanO.java#L1869-L1958
66,003
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanO.java
BeanO.createCalendarTimer
@Override public Timer createCalendarTimer(ScheduleExpression schedule, TimerConfig timerConfig) { Serializable info = timerConfig == null ? null : timerConfig.getInfo(); boolean persistent = timerConfig == null || timerConfig.isPersistent(); boolean isTraceOn = TraceComponent.isAnyTrac...
java
@Override public Timer createCalendarTimer(ScheduleExpression schedule, TimerConfig timerConfig) { Serializable info = timerConfig == null ? null : timerConfig.getInfo(); boolean persistent = timerConfig == null || timerConfig.isPersistent(); boolean isTraceOn = TraceComponent.isAnyTrac...
[ "@", "Override", "public", "Timer", "createCalendarTimer", "(", "ScheduleExpression", "schedule", ",", "TimerConfig", "timerConfig", ")", "{", "Serializable", "info", "=", "timerConfig", "==", "null", "?", "null", ":", "timerConfig", ".", "getInfo", "(", ")", ";...
F7437591.codRev
[ "F7437591", ".", "codRev" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/BeanO.java#L2040-L2091
66,004
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsMessageHandleRestorerImpl.java
JsMessageHandleRestorerImpl.restoreFromString
public SIMessageHandle restoreFromString(String data) throws IllegalArgumentException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "restoreFromString"); if ((data == null) || data.equals("")) { String badValueType; if (data==null) {badValueType = "NUL...
java
public SIMessageHandle restoreFromString(String data) throws IllegalArgumentException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "restoreFromString"); if ((data == null) || data.equals("")) { String badValueType; if (data==null) {badValueType = "NUL...
[ "public", "SIMessageHandle", "restoreFromString", "(", "String", "data", ")", "throws", "IllegalArgumentException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "...
Restore a JsMessageHandle from a String. @param data The String containing the flattened JsMessageHandle. @return SIMessageHandle The restored MessageHandle (the object returned is guaranteed to actually be a JsMessageHandle). @exception IllegalArgumentException Thrown if the parameter is null or contai...
[ "Restore", "a", "JsMessageHandle", "from", "a", "String", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/JsMessageHandleRestorerImpl.java#L170-L194
66,005
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertDelegateHandler.java
ConvertDelegateHandler.createConverter
protected Converter createConverter(FaceletContext ctx) throws FacesException, ELException, FaceletException { return ctx.getFacesContext().getApplication().createConverter(this.getConverterId(ctx)); }
java
protected Converter createConverter(FaceletContext ctx) throws FacesException, ELException, FaceletException { return ctx.getFacesContext().getApplication().createConverter(this.getConverterId(ctx)); }
[ "protected", "Converter", "createConverter", "(", "FaceletContext", "ctx", ")", "throws", "FacesException", ",", "ELException", ",", "FaceletException", "{", "return", "ctx", ".", "getFacesContext", "(", ")", ".", "getApplication", "(", ")", ".", "createConverter", ...
Uses the specified "converterId" to pull an instance from the Application @see javax.faces.application.Application#createComponent(java.lang.String) @see org.apache.myfaces.view.facelets.tag.jsf.ConverterHandler#createConverter(javax.faces.view.facelets.FaceletContext)
[ "Uses", "the", "specified", "converterId", "to", "pull", "an", "instance", "from", "the", "Application" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertDelegateHandler.java#L65-L68
66,006
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/JmsBodyType.java
JmsBodyType.getBodyType
public static JmsBodyType getBodyType(String format) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getBodyType"); JmsBodyType result = null; if (format.equals(SIApiConstants.JMS_FORMAT_BYTES)) result = BYTES; else if (format.equals(SIApiConstants.JMS_FORMAT_T...
java
public static JmsBodyType getBodyType(String format) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getBodyType"); JmsBodyType result = null; if (format.equals(SIApiConstants.JMS_FORMAT_BYTES)) result = BYTES; else if (format.equals(SIApiConstants.JMS_FORMAT_T...
[ "public", "static", "JmsBodyType", "getBodyType", "(", "String", "format", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"getBodyType\""...
Return the appropriate JMSBodyType for a specific format string @param format A String corresponding to the SDO format of a JMS Message @return JmsBodyType The JmsBodyType singleton which maps to the given format string
[ "Return", "the", "appropriate", "JMSBodyType", "for", "a", "specific", "format", "string" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/JmsBodyType.java#L84-L103
66,007
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/JmsBodyType.java
JmsBodyType.getJmsBodyType
public final static JmsBodyType getJmsBodyType(Byte aValue) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.debug(tc,"Value = " + aValue); return set[aValue.intValue()]; }
java
public final static JmsBodyType getJmsBodyType(Byte aValue) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.debug(tc,"Value = " + aValue); return set[aValue.intValue()]; }
[ "public", "final", "static", "JmsBodyType", "getJmsBodyType", "(", "Byte", "aValue", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "SibTr", ".", "debug", "(", "tc", ",", "\"Va...
Returns the corresponding JmsBodyType for a given Byte. This method should NOT be called by any code outside the TEXT component. It is only public so that it can be accessed by sub-packages. @param aValue The Byte for which an JmsBodyType is required. @return The corresponding JmsBodyType
[ "Returns", "the", "corresponding", "JmsBodyType", "for", "a", "given", "Byte", ".", "This", "method", "should", "NOT", "be", "called", "by", "any", "code", "outside", "the", "TEXT", "component", ".", "It", "is", "only", "public", "so", "that", "it", "can",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/JmsBodyType.java#L114-L117
66,008
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java
MCWrapper.delistRRSXAResource
final void delistRRSXAResource(XAResource xaResource) throws Exception { RRSXAResourceFactory xaFactory = (RRSXAResourceFactory) pm.connectorSvc.rrsXAResFactorySvcRef.getService(); // Make sure that the bundle is active. if (xaFactory == null) { throw new IllegalStateException("Nati...
java
final void delistRRSXAResource(XAResource xaResource) throws Exception { RRSXAResourceFactory xaFactory = (RRSXAResourceFactory) pm.connectorSvc.rrsXAResFactorySvcRef.getService(); // Make sure that the bundle is active. if (xaFactory == null) { throw new IllegalStateException("Nati...
[ "final", "void", "delistRRSXAResource", "(", "XAResource", "xaResource", ")", "throws", "Exception", "{", "RRSXAResourceFactory", "xaFactory", "=", "(", "RRSXAResourceFactory", ")", "pm", ".", "connectorSvc", ".", "rrsXAResFactorySvcRef", ".", "getService", "(", ")", ...
Delists a RRS XA resource information with the transaction manager. @param xaResource The XA resource to delist. @throws Exception if an error occurred during the enlistment process.
[ "Delists", "a", "RRS", "XA", "resource", "information", "with", "the", "transaction", "manager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java#L441-L461
66,009
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java
MCWrapper.enlistRRSXAResource
final XAResource enlistRRSXAResource(int recoveryId, int branchCoupling) throws Exception { RRSXAResourceFactory xaFactory = (RRSXAResourceFactory) pm.connectorSvc.rrsXAResFactorySvcRef.getService(); // Make sure that the bundle is active. if (xaFactory == null) { throw new IllegalS...
java
final XAResource enlistRRSXAResource(int recoveryId, int branchCoupling) throws Exception { RRSXAResourceFactory xaFactory = (RRSXAResourceFactory) pm.connectorSvc.rrsXAResFactorySvcRef.getService(); // Make sure that the bundle is active. if (xaFactory == null) { throw new IllegalS...
[ "final", "XAResource", "enlistRRSXAResource", "(", "int", "recoveryId", ",", "int", "branchCoupling", ")", "throws", "Exception", "{", "RRSXAResourceFactory", "xaFactory", "=", "(", "RRSXAResourceFactory", ")", "pm", ".", "connectorSvc", ".", "rrsXAResFactorySvcRef", ...
Enlists a RRS XA resource with the transaction manager. @param recoveryId The recovery id representing the registration of the resource with the transaction manager. @param branchCoupling The resource's branch coupling support indicator. @return The XA resource enlisted with the transaction manager. @throws Exce...
[ "Enlists", "a", "RRS", "XA", "resource", "with", "the", "transaction", "manager", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java#L474-L508
66,010
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java
MCWrapper.getConnectionManager
public ConnectionManager getConnectionManager() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(this, tc, "Connection manager is " + cm + " for managed connection " + this); if (cm == null && pm != null) { Tr.debug(this, tc, "Connection pool ...
java
public ConnectionManager getConnectionManager() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(this, tc, "Connection manager is " + cm + " for managed connection " + this); if (cm == null && pm != null) { Tr.debug(this, tc, "Connection pool ...
[ "public", "ConnectionManager", "getConnectionManager", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", "this", ",", "tc", ",", "\"Connection man...
Get the reference to the Current CM instance associated with this MCWrapper.
[ "Get", "the", "reference", "to", "the", "Current", "CM", "instance", "associated", "with", "this", "MCWrapper", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java#L787-L801
66,011
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java
MCWrapper.transactionComplete
protected void transactionComplete() { if (state != STATE_TRAN_WRAPPER_INUSE) { IllegalStateException e = new IllegalStateException("transactionComplete: illegal state exception. State = " + getStateString() + " MCW = " + mcWrapperObje...
java
protected void transactionComplete() { if (state != STATE_TRAN_WRAPPER_INUSE) { IllegalStateException e = new IllegalStateException("transactionComplete: illegal state exception. State = " + getStateString() + " MCW = " + mcWrapperObje...
[ "protected", "void", "transactionComplete", "(", ")", "{", "if", "(", "state", "!=", "STATE_TRAN_WRAPPER_INUSE", ")", "{", "IllegalStateException", "e", "=", "new", "IllegalStateException", "(", "\"transactionComplete: illegal state exception. State = \"", "+", "getStateStr...
Called by the TranWrapper during afterCompletion.
[ "Called", "by", "the", "TranWrapper", "during", "afterCompletion", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java#L1257-L1268
66,012
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java
MCWrapper.involvedInTransaction
protected boolean involvedInTransaction() { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (state == STATE_TRAN_WRAPPER_INUSE) { if (isTracingEnabled && tc.isDebugEnabled()) { Tr.debug(this, tc, "involvedInTransaction: true"); } ...
java
protected boolean involvedInTransaction() { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (state == STATE_TRAN_WRAPPER_INUSE) { if (isTracingEnabled && tc.isDebugEnabled()) { Tr.debug(this, tc, "involvedInTransaction: true"); } ...
[ "protected", "boolean", "involvedInTransaction", "(", ")", "{", "final", "boolean", "isTracingEnabled", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "state", "==", "STATE_TRAN_WRAPPER_INUSE", ")", "{", "if", "(", "isTracingEnabled", ...
Called by the Connection manager during reassociate to check if an unshared connection is currently involved in a transaction.
[ "Called", "by", "the", "Connection", "manager", "during", "reassociate", "to", "check", "if", "an", "unshared", "connection", "is", "currently", "involved", "in", "a", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java#L1279-L1299
66,013
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java
MCWrapper.hasFatalErrorNotificationOccurred
@Override public boolean hasFatalErrorNotificationOccurred(int fatalErrorNotificationTime) { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); /* * I have changed this from using a long based on a currentTimeMillis * to an int value. * * By ...
java
@Override public boolean hasFatalErrorNotificationOccurred(int fatalErrorNotificationTime) { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); /* * I have changed this from using a long based on a currentTimeMillis * to an int value. * * By ...
[ "@", "Override", "public", "boolean", "hasFatalErrorNotificationOccurred", "(", "int", "fatalErrorNotificationTime", ")", "{", "final", "boolean", "isTracingEnabled", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "/*\n * I have changed this from us...
Fatal Error Notification Occurred When a connection is created it will be assigned a free pools fatal error notification value + 1. When a fatal error occurs, the free pools fatal error notification value is incremented by 1. Any connection with a fatal error notification value less than or = to free pools fatal error...
[ "Fatal", "Error", "Notification", "Occurred" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java#L2367-L2391
66,014
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java
MCWrapper.setDestroyConnectionOnReturn
@Override public void setDestroyConnectionOnReturn() { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (isTracingEnabled && tc.isEntryEnabled()) { Tr.entry(this, tc, "setDestroyConnectionOnReturn"); } --fatalErrorValue; if (isTracingEn...
java
@Override public void setDestroyConnectionOnReturn() { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (isTracingEnabled && tc.isEntryEnabled()) { Tr.entry(this, tc, "setDestroyConnectionOnReturn"); } --fatalErrorValue; if (isTracingEn...
[ "@", "Override", "public", "void", "setDestroyConnectionOnReturn", "(", ")", "{", "final", "boolean", "isTracingEnabled", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTracingEnabled", "&&", "tc", ".", "isEntryEnabled", "(", ")", ...
This method is used for marking a connection to destroy. The connection state does not matter. The connection still can be useable. When the connection is returned to the free pool, this connection will be cleaned up and destroyed. This method may be called when total connection count is being decreased.
[ "This", "method", "is", "used", "for", "marking", "a", "connection", "to", "destroy", ".", "The", "connection", "state", "does", "not", "matter", ".", "The", "connection", "still", "can", "be", "useable", ".", "When", "the", "connection", "is", "returned", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java#L2931-L2945
66,015
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java
MCWrapper.resetCoordinator
public void resetCoordinator() { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (isTracingEnabled && tc.isDebugEnabled()) { Tr.debug(this, tc, "Resetting uow coordinator to null"); } uowCoord = null; }
java
public void resetCoordinator() { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (isTracingEnabled && tc.isDebugEnabled()) { Tr.debug(this, tc, "Resetting uow coordinator to null"); } uowCoord = null; }
[ "public", "void", "resetCoordinator", "(", ")", "{", "final", "boolean", "isTracingEnabled", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTracingEnabled", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "d...
Reset the coordinator value to null
[ "Reset", "the", "coordinator", "value", "to", "null" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java#L2970-L2980
66,016
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java
MCWrapper.markTransactionError
public void markTransactionError() { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (isTracingEnabled && tc.isDebugEnabled()) { Tr.debug(this, tc, "TransactionError occurred on MCWrapper:" + toString()); } _transactionErrorOccurred = true; }
java
public void markTransactionError() { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (isTracingEnabled && tc.isDebugEnabled()) { Tr.debug(this, tc, "TransactionError occurred on MCWrapper:" + toString()); } _transactionErrorOccurred = true; }
[ "public", "void", "markTransactionError", "(", ")", "{", "final", "boolean", "isTracingEnabled", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTracingEnabled", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", ...
Indicates that an error has occurred from the transaction service. At which point we know that the MCWrapper is no longer usable and will be destroyed when the MCWrapper is returned to the pool. If the pool needs to be purged as a result of the transaction error, we rely on the ResourceAdapter to fire a ConnectionErro...
[ "Indicates", "that", "an", "error", "has", "occurred", "from", "the", "transaction", "service", ".", "At", "which", "point", "we", "know", "that", "the", "MCWrapper", "is", "no", "longer", "usable", "and", "will", "be", "destroyed", "when", "the", "MCWrapper...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java#L3086-L3096
66,017
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java
MCWrapper.clearHandleList
public void clearHandleList() { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (isTracingEnabled && tc.isDebugEnabled()) { Tr.debug(this, tc, "Clear the McWrapper handlelist for the following MCWrapper: " + this); } // since we know we are only ...
java
public void clearHandleList() { final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled(); if (isTracingEnabled && tc.isDebugEnabled()) { Tr.debug(this, tc, "Clear the McWrapper handlelist for the following MCWrapper: " + this); } // since we know we are only ...
[ "public", "void", "clearHandleList", "(", ")", "{", "final", "boolean", "isTracingEnabled", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTracingEnabled", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "de...
clear the handle list
[ "clear", "the", "handle", "list" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java#L3182-L3200
66,018
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java
MCWrapper.abortMC
public boolean abortMC() { boolean trace = TraceComponent.isAnyTracingEnabled(); if (!(mc instanceof WSManagedConnection)) { if (trace && tc.isDebugEnabled()) Tr.debug(tc, "abortMC", "Skipping MC abort because MC is not an instance of WSManagedConnection"); return...
java
public boolean abortMC() { boolean trace = TraceComponent.isAnyTracingEnabled(); if (!(mc instanceof WSManagedConnection)) { if (trace && tc.isDebugEnabled()) Tr.debug(tc, "abortMC", "Skipping MC abort because MC is not an instance of WSManagedConnection"); return...
[ "public", "boolean", "abortMC", "(", ")", "{", "boolean", "trace", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "!", "(", "mc", "instanceof", "WSManagedConnection", ")", ")", "{", "if", "(", "trace", "&&", "tc", ".", "isDe...
Abort the manage connection associated with this MCWrapper. @return whether or not the connection was successfully aborted.
[ "Abort", "the", "manage", "connection", "associated", "with", "this", "MCWrapper", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/MCWrapper.java#L3255-L3284
66,019
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/util/cache/Cache.java
Cache.getOrCreateBucketForKey
private Bucket getOrCreateBucketForKey(Object key) { int index = getBucketIndexForKey(key); // Double-checked locking. Safe since buckets do not initialize any state // until they are synchronized by the caller. d739870 Bucket bucket = buckets[index]; i...
java
private Bucket getOrCreateBucketForKey(Object key) { int index = getBucketIndexForKey(key); // Double-checked locking. Safe since buckets do not initialize any state // until they are synchronized by the caller. d739870 Bucket bucket = buckets[index]; i...
[ "private", "Bucket", "getOrCreateBucketForKey", "(", "Object", "key", ")", "{", "int", "index", "=", "getBucketIndexForKey", "(", "key", ")", ";", "// Double-checked locking. Safe since buckets do not initialize any state", "// until they are synchronized by the caller. ...
Returns the bucket which the specified key hashes to, or creates it if it does not exist. @param key key for the object to get a bucket for. @return the bucket which the specified key hashes to.
[ "Returns", "the", "bucket", "which", "the", "specified", "key", "hashes", "to", "or", "creates", "it", "if", "it", "does", "not", "exist", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/util/cache/Cache.java#L1032-L1056
66,020
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.getProp
private String getProp(Map<Object, Object> props, String key) { String value = (String) props.get(key); if (null == value) { value = (String) props.get(key.toLowerCase()); } return (null != value) ? value.trim() : null; }
java
private String getProp(Map<Object, Object> props, String key) { String value = (String) props.get(key); if (null == value) { value = (String) props.get(key.toLowerCase()); } return (null != value) ? value.trim() : null; }
[ "private", "String", "getProp", "(", "Map", "<", "Object", ",", "Object", ">", "props", ",", "String", "key", ")", "{", "String", "value", "=", "(", "String", ")", "props", ".", "get", "(", "key", ")", ";", "if", "(", "null", "==", "value", ")", ...
Access the property that may or may not exist for the given key. @param props @param key @return String
[ "Access", "the", "property", "that", "may", "or", "may", "not", "exist", "for", "the", "given", "key", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L462-L468
66,021
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parsePersistence
private void parsePersistence(Map<Object, Object> props) { parseKeepAliveEnabled(props); if (isKeepAliveEnabled()) { parseMaxPersist(props); } }
java
private void parsePersistence(Map<Object, Object> props) { parseKeepAliveEnabled(props); if (isKeepAliveEnabled()) { parseMaxPersist(props); } }
[ "private", "void", "parsePersistence", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "parseKeepAliveEnabled", "(", "props", ")", ";", "if", "(", "isKeepAliveEnabled", "(", ")", ")", "{", "parseMaxPersist", "(", "props", ")", ";", "}", ...
Method to handle parsing all of the persistence related configuration values. @param props
[ "Method", "to", "handle", "parsing", "all", "of", "the", "persistence", "related", "configuration", "values", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L476-L481
66,022
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseMaxPersist
private void parseMaxPersist(Map<Object, Object> props) { // -1 means unlimited // 0..1 means 1 // X means X Object value = props.get(HttpConfigConstants.PROPNAME_MAX_PERSIST); if (null != value) { try { this.maxPersistRequest = minLimit(convertInteger...
java
private void parseMaxPersist(Map<Object, Object> props) { // -1 means unlimited // 0..1 means 1 // X means X Object value = props.get(HttpConfigConstants.PROPNAME_MAX_PERSIST); if (null != value) { try { this.maxPersistRequest = minLimit(convertInteger...
[ "private", "void", "parseMaxPersist", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "// -1 means unlimited", "// 0..1 means 1", "// X means X", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_MAX_PERSIST", ...
Check the input configuration for the maximum allowed requests per socket setting. @param props
[ "Check", "the", "input", "configuration", "for", "the", "maximum", "allowed", "requests", "per", "socket", "setting", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L508-L526
66,023
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseOutgoingVersion
private void parseOutgoingVersion(Map<Object, Object> props) { String value = getProp(props, HttpConfigConstants.PROPNAME_OUTGOING_VERSION); if ("1.0".equals(value)) { this.outgoingHttpVersion = VersionValues.V10; if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {...
java
private void parseOutgoingVersion(Map<Object, Object> props) { String value = getProp(props, HttpConfigConstants.PROPNAME_OUTGOING_VERSION); if ("1.0".equals(value)) { this.outgoingHttpVersion = VersionValues.V10; if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {...
[ "private", "void", "parseOutgoingVersion", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "String", "value", "=", "getProp", "(", "props", ",", "HttpConfigConstants", ".", "PROPNAME_OUTGOING_VERSION", ")", ";", "if", "(", "\"1.0\"", ".", "...
Check the input configuration for the default outgoing HTTP version setting. @param props
[ "Check", "the", "input", "configuration", "for", "the", "default", "outgoing", "HTTP", "version", "setting", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L534-L542
66,024
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseBufferType
private void parseBufferType(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_DIRECT_BUFF); if (null != value) { this.bDirectBuffers = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.ev...
java
private void parseBufferType(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_DIRECT_BUFF); if (null != value) { this.bDirectBuffers = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.ev...
[ "private", "void", "parseBufferType", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_DIRECT_BUFF", ")", ";", "if", "(", "null", "!=", "value", ")", ...
Check the input configuration for the type of ByteBuffer to use, direct or indirect. @param props
[ "Check", "the", "input", "configuration", "for", "the", "type", "of", "ByteBuffer", "to", "use", "direct", "or", "indirect", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L550-L558
66,025
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseOutgoingBufferSize
private void parseOutgoingBufferSize(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_OUTGOING_HDR_BUFFSIZE); if (null != value) { try { this.outgoingHdrBuffSize = rangeLimit(convertInteger(value), HttpConfigConstants.MIN_BUFFER_SIZE, HttpCon...
java
private void parseOutgoingBufferSize(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_OUTGOING_HDR_BUFFSIZE); if (null != value) { try { this.outgoingHdrBuffSize = rangeLimit(convertInteger(value), HttpConfigConstants.MIN_BUFFER_SIZE, HttpCon...
[ "private", "void", "parseOutgoingBufferSize", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_OUTGOING_HDR_BUFFSIZE", ")", ";", "if", "(", "null", "!=", ...
Check the input configuration for the maximum buffer size allowed for marshalling headers outbound. @param props
[ "Check", "the", "input", "configuration", "for", "the", "maximum", "buffer", "size", "allowed", "for", "marshalling", "headers", "outbound", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L566-L581
66,026
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseIncomingHdrBufferSize
private void parseIncomingHdrBufferSize(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_INCOMING_HDR_BUFFSIZE); if (null != value) { try { this.incomingHdrBuffSize = rangeLimit(convertInteger(value), HttpConfigConstants.MIN_BUFFER_SIZE, Http...
java
private void parseIncomingHdrBufferSize(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_INCOMING_HDR_BUFFSIZE); if (null != value) { try { this.incomingHdrBuffSize = rangeLimit(convertInteger(value), HttpConfigConstants.MIN_BUFFER_SIZE, Http...
[ "private", "void", "parseIncomingHdrBufferSize", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_INCOMING_HDR_BUFFSIZE", ")", ";", "if", "(", "null", "!="...
Check the input configuration for the buffer size to use when parsing the incoming headers. @param props
[ "Check", "the", "input", "configuration", "for", "the", "buffer", "size", "to", "use", "when", "parsing", "the", "incoming", "headers", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L589-L604
66,027
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseIncomingBodyBufferSize
private void parseIncomingBodyBufferSize(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_INCOMING_BODY_BUFFSIZE); if (null != value) { try { this.incomingBodyBuffSize = rangeLimit(convertInteger(value), HttpConfigConstants.MIN_BUFFER_SIZE, H...
java
private void parseIncomingBodyBufferSize(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_INCOMING_BODY_BUFFSIZE); if (null != value) { try { this.incomingBodyBuffSize = rangeLimit(convertInteger(value), HttpConfigConstants.MIN_BUFFER_SIZE, H...
[ "private", "void", "parseIncomingBodyBufferSize", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_INCOMING_BODY_BUFFSIZE", ")", ";", "if", "(", "null", "!...
Check the input configuration for the buffer size to use when reading the incoming body. @param props
[ "Check", "the", "input", "configuration", "for", "the", "buffer", "size", "to", "use", "when", "reading", "the", "incoming", "body", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L612-L627
66,028
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parsePersistTimeout
private void parsePersistTimeout(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_PERSIST_TIMEOUT); if (null != value) { try { this.persistTimeout = TIMEOUT_MODIFIER * minLimit(convertInteger(value), HttpConfigConstants.MIN_TIMEOUT); ...
java
private void parsePersistTimeout(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_PERSIST_TIMEOUT); if (null != value) { try { this.persistTimeout = TIMEOUT_MODIFIER * minLimit(convertInteger(value), HttpConfigConstants.MIN_TIMEOUT); ...
[ "private", "void", "parsePersistTimeout", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_PERSIST_TIMEOUT", ")", ";", "if", "(", "null", "!=", "value", ...
Check the input configuration for the timeout to use in between persistent requests. @param props
[ "Check", "the", "input", "configuration", "for", "the", "timeout", "to", "use", "in", "between", "persistent", "requests", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L635-L650
66,029
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseReadTimeout
private void parseReadTimeout(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_READ_TIMEOUT); if (null != value) { try { this.readTimeout = TIMEOUT_MODIFIER * minLimit(convertInteger(value), HttpConfigConstants.MIN_TIMEOUT); i...
java
private void parseReadTimeout(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_READ_TIMEOUT); if (null != value) { try { this.readTimeout = TIMEOUT_MODIFIER * minLimit(convertInteger(value), HttpConfigConstants.MIN_TIMEOUT); i...
[ "private", "void", "parseReadTimeout", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_READ_TIMEOUT", ")", ";", "if", "(", "null", "!=", "value", ")",...
Check the input configuration for the timeout to use when doing any read during a connection. @param props
[ "Check", "the", "input", "configuration", "for", "the", "timeout", "to", "use", "when", "doing", "any", "read", "during", "a", "connection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L658-L673
66,030
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseWriteTimeout
private void parseWriteTimeout(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_WRITE_TIMEOUT); if (null != value) { try { this.writeTimeout = TIMEOUT_MODIFIER * minLimit(convertInteger(value), HttpConfigConstants.MIN_TIMEOUT); ...
java
private void parseWriteTimeout(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_WRITE_TIMEOUT); if (null != value) { try { this.writeTimeout = TIMEOUT_MODIFIER * minLimit(convertInteger(value), HttpConfigConstants.MIN_TIMEOUT); ...
[ "private", "void", "parseWriteTimeout", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_WRITE_TIMEOUT", ")", ";", "if", "(", "null", "!=", "value", ")...
Check the input configuration for the timeout to use when writing data during the connection. @param props
[ "Check", "the", "input", "configuration", "for", "the", "timeout", "to", "use", "when", "writing", "data", "during", "the", "connection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L681-L696
66,031
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseByteCacheSize
private void parseByteCacheSize(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_BYTE_CACHE_SIZE); if (null != value) { try { this.byteCacheSize = rangeLimit(convertInteger(value), HttpConfigConstants.MIN_BYTE_CACHE_SIZE, HttpConfigConstants....
java
private void parseByteCacheSize(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_BYTE_CACHE_SIZE); if (null != value) { try { this.byteCacheSize = rangeLimit(convertInteger(value), HttpConfigConstants.MIN_BYTE_CACHE_SIZE, HttpConfigConstants....
[ "private", "void", "parseByteCacheSize", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_BYTE_CACHE_SIZE", ")", ";", "if", "(", "null", "!=", "value", ...
Check the input configuration for the size of the parse byte cache to use. @param props
[ "Check", "the", "input", "configuration", "for", "the", "size", "of", "the", "parse", "byte", "cache", "to", "use", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L758-L773
66,032
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseDelayedExtract
private void parseDelayedExtract(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_EXTRACT_VALUE); if (null != value) { this.bExtractValue = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { ...
java
private void parseDelayedExtract(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_EXTRACT_VALUE); if (null != value) { this.bExtractValue = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { ...
[ "private", "void", "parseDelayedExtract", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_EXTRACT_VALUE", ")", ";", "if", "(", "null", "!=", "value", ...
Check the input configuration for the flag on whether to immediately extract header values during the parsing stage or not. @param props
[ "Check", "the", "input", "configuration", "for", "the", "flag", "on", "whether", "to", "immediately", "extract", "header", "values", "during", "the", "parsing", "stage", "or", "not", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L781-L789
66,033
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseBinaryTransport
private void parseBinaryTransport(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_BINARY_TRANSPORT); if (null != value) { this.bBinaryTransport = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { ...
java
private void parseBinaryTransport(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_BINARY_TRANSPORT); if (null != value) { this.bBinaryTransport = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { ...
[ "private", "void", "parseBinaryTransport", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_BINARY_TRANSPORT", ")", ";", "if", "(", "null", "!=", "value"...
Check the input configuration for whether the parsing and marshalling should use the binary transport mode or not. @param props
[ "Check", "the", "input", "configuration", "for", "whether", "the", "parsing", "and", "marshalling", "should", "use", "the", "binary", "transport", "mode", "or", "not", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L797-L805
66,034
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseLimitFieldSize
private void parseLimitFieldSize(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_LIMIT_FIELDSIZE); if (null != value) { try { this.limitFieldSize = rangeLimit(convertInteger(value), HttpConfigConstants.MIN_LIMIT_FIELDSIZE, HttpConfigConstant...
java
private void parseLimitFieldSize(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_LIMIT_FIELDSIZE); if (null != value) { try { this.limitFieldSize = rangeLimit(convertInteger(value), HttpConfigConstants.MIN_LIMIT_FIELDSIZE, HttpConfigConstant...
[ "private", "void", "parseLimitFieldSize", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_LIMIT_FIELDSIZE", ")", ";", "if", "(", "null", "!=", "value", ...
Check the input configuration for a maximum size allowed for HTTP fields. @param props
[ "Check", "the", "input", "configuration", "for", "a", "maximum", "size", "allowed", "for", "HTTP", "fields", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L812-L827
66,035
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseLimitNumberHeaders
private void parseLimitNumberHeaders(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_LIMIT_NUMHEADERS); if (null != value) { try { this.limitNumHeaders = rangeLimit(convertInteger(value), HttpConfigConstants.MIN_LIMIT_NUMHEADERS, HttpConfigC...
java
private void parseLimitNumberHeaders(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_LIMIT_NUMHEADERS); if (null != value) { try { this.limitNumHeaders = rangeLimit(convertInteger(value), HttpConfigConstants.MIN_LIMIT_NUMHEADERS, HttpConfigC...
[ "private", "void", "parseLimitNumberHeaders", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_LIMIT_NUMHEADERS", ")", ";", "if", "(", "null", "!=", "val...
Check the input configuration for a maximum limit on the number of headers allowed per message. @param props
[ "Check", "the", "input", "configuration", "for", "a", "maximum", "limit", "on", "the", "number", "of", "headers", "allowed", "per", "message", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L835-L850
66,036
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseLimitNumberResponses
private void parseLimitNumberResponses(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_LIMIT_NUMBER_RESPONSES); if (null != value) { try { int size = convertInteger(value); if (HttpConfigConstants.UNLIMITED == size) { ...
java
private void parseLimitNumberResponses(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_LIMIT_NUMBER_RESPONSES); if (null != value) { try { int size = convertInteger(value); if (HttpConfigConstants.UNLIMITED == size) { ...
[ "private", "void", "parseLimitNumberResponses", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_LIMIT_NUMBER_RESPONSES", ")", ";", "if", "(", "null", "!="...
Check the input configuration for a maximum limit on the number of temporary responses that will be read and skipped past. @param props
[ "Check", "the", "input", "configuration", "for", "a", "maximum", "limit", "on", "the", "number", "of", "temporary", "responses", "that", "will", "be", "read", "and", "skipped", "past", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L858-L878
66,037
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseLimitMessageSize
private void parseLimitMessageSize(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_MSG_SIZE_LIMIT); if (null != value) { try { this.limitMessageSize = convertLong(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEvent...
java
private void parseLimitMessageSize(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_MSG_SIZE_LIMIT); if (null != value) { try { this.limitMessageSize = convertLong(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEvent...
[ "private", "void", "parseLimitMessageSize", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_MSG_SIZE_LIMIT", ")", ";", "if", "(", "null", "!=", "value",...
Parse the possible configuration limit on the incoming message body. size. @param props
[ "Parse", "the", "possible", "configuration", "limit", "on", "the", "incoming", "message", "body", ".", "size", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L886-L901
66,038
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseAccessLog
private void parseAccessLog(Map<Object, Object> props) { String id = (String) props.get(HttpConfigConstants.PROPNAME_ACCESSLOG_ID); if (id != null) { AtomicReference<AccessLog> aLog = HttpEndpointImpl.getAccessLogger(id); if (aLog != null) { this.accessLogger = a...
java
private void parseAccessLog(Map<Object, Object> props) { String id = (String) props.get(HttpConfigConstants.PROPNAME_ACCESSLOG_ID); if (id != null) { AtomicReference<AccessLog> aLog = HttpEndpointImpl.getAccessLogger(id); if (aLog != null) { this.accessLogger = a...
[ "private", "void", "parseAccessLog", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "String", "id", "=", "(", "String", ")", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_ACCESSLOG_ID", ")", ";", "if", "(", "id", "!="...
Parse the NCSA access log information from the property map. @param props
[ "Parse", "the", "NCSA", "access", "log", "information", "from", "the", "property", "map", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L918-L931
66,039
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseRemoteIp
private void parseRemoteIp(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_REMOTE_IP); if (null != value) { this.useForwardingHeaders = convertBoolean(value); if (this.useForwardingHeaders && (TraceComponent.isAnyTracingEnabled()) && (tc.isEve...
java
private void parseRemoteIp(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_REMOTE_IP); if (null != value) { this.useForwardingHeaders = convertBoolean(value); if (this.useForwardingHeaders && (TraceComponent.isAnyTracingEnabled()) && (tc.isEve...
[ "private", "void", "parseRemoteIp", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_REMOTE_IP", ")", ";", "if", "(", "null", "!=", "value", ")", "{"...
Check the configuration to see if the remoteIp element has been configured to consider forwarding header values in the NCSA Access Log @param props
[ "Check", "the", "configuration", "to", "see", "if", "the", "remoteIp", "element", "has", "been", "configured", "to", "consider", "forwarding", "header", "values", "in", "the", "NCSA", "Access", "Log" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L939-L950
66,040
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseAllowRetries
private void parseAllowRetries(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_ALLOW_RETRIES); if (null != value) { this.bAllowRetries = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr...
java
private void parseAllowRetries(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_ALLOW_RETRIES); if (null != value) { this.bAllowRetries = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr...
[ "private", "void", "parseAllowRetries", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_ALLOW_RETRIES", ")", ";", "if", "(", "null", "!=", "value", ")...
Parse the input configuration for the flag on whether to allow retries or not. @param props
[ "Parse", "the", "input", "configuration", "for", "the", "flag", "on", "whether", "to", "allow", "retries", "or", "not", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L998-L1006
66,041
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseHeaderValidation
private void parseHeaderValidation(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_HEADER_VALIDATION); if (null != value) { this.bHeaderValidation = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { ...
java
private void parseHeaderValidation(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_HEADER_VALIDATION); if (null != value) { this.bHeaderValidation = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { ...
[ "private", "void", "parseHeaderValidation", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_HEADER_VALIDATION", ")", ";", "if", "(", "null", "!=", "valu...
Parse the configuration on whether to perform header validation or not. @param props
[ "Parse", "the", "configuration", "on", "whether", "to", "perform", "header", "validation", "or", "not", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1013-L1021
66,042
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseJITOnlyReads
private void parseJITOnlyReads(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_JIT_ONLY_READS); if (null != value) { this.bJITOnlyReads = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { T...
java
private void parseJITOnlyReads(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_JIT_ONLY_READS); if (null != value) { this.bJITOnlyReads = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { T...
[ "private", "void", "parseJITOnlyReads", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_JIT_ONLY_READS", ")", ";", "if", "(", "null", "!=", "value", "...
Parse the configuration on whether to perform JIT allocate only reads or leave it to the default behavior. @param props
[ "Parse", "the", "configuration", "on", "whether", "to", "perform", "JIT", "allocate", "only", "reads", "or", "leave", "it", "to", "the", "default", "behavior", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1029-L1037
66,043
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseStrictURLFormat
private void parseStrictURLFormat(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_STRICT_URL_FORMAT); if (null != value) { this.bStrictURLFormat = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { ...
java
private void parseStrictURLFormat(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_STRICT_URL_FORMAT); if (null != value) { this.bStrictURLFormat = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { ...
[ "private", "void", "parseStrictURLFormat", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_STRICT_URL_FORMAT", ")", ";", "if", "(", "null", "!=", "value...
Check the input configuration to decide whether to enforce a strict RFC compliance while parsing URLs. @param props
[ "Check", "the", "input", "configuration", "to", "decide", "whether", "to", "enforce", "a", "strict", "RFC", "compliance", "while", "parsing", "URLs", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1045-L1053
66,044
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseServerHeader
private void parseServerHeader(Map<Object, Object> props) { // @PK15848 String value = getProp(props, HttpConfigConstants.PROPNAME_SERVER_HEADER_VALUE); if (null == value || "".equals(value)) { // due to security change, do not default value in Server header. // PM87013 Start ...
java
private void parseServerHeader(Map<Object, Object> props) { // @PK15848 String value = getProp(props, HttpConfigConstants.PROPNAME_SERVER_HEADER_VALUE); if (null == value || "".equals(value)) { // due to security change, do not default value in Server header. // PM87013 Start ...
[ "private", "void", "parseServerHeader", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "// @PK15848", "String", "value", "=", "getProp", "(", "props", ",", "HttpConfigConstants", ".", "PROPNAME_SERVER_HEADER_VALUE", ")", ";", "if", "(", "nul...
Check the input configuration map for the parameters that control the Server header value. @param props
[ "Check", "the", "input", "configuration", "map", "for", "the", "parameters", "that", "control", "the", "Server", "header", "value", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1061-L1084
66,045
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseDateHeaderRange
private void parseDateHeaderRange(Map<Object, Object> props) { // @313642 Object value = props.get(HttpConfigConstants.PROPNAME_DATE_HEADER_RANGE); if (null != value) { try { this.lDateHeaderRange = minLimit(convertLong(value), 0L); if (TraceComponent....
java
private void parseDateHeaderRange(Map<Object, Object> props) { // @313642 Object value = props.get(HttpConfigConstants.PROPNAME_DATE_HEADER_RANGE); if (null != value) { try { this.lDateHeaderRange = minLimit(convertLong(value), 0L); if (TraceComponent....
[ "private", "void", "parseDateHeaderRange", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "// @313642", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_DATE_HEADER_RANGE", ")", ";", "if", "(", "null", ...
Parse the date header range value from the input properties. @param props
[ "Parse", "the", "date", "header", "range", "value", "from", "the", "input", "properties", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1091-L1107
66,046
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseCookieUpdate
private void parseCookieUpdate(Map<Object, Object> props) { //This property needed to be documented using a new name because //the original property contains a banned word for metatype: 'config' //This change will verify if either (or both) original/documented properties //are set. The i...
java
private void parseCookieUpdate(Map<Object, Object> props) { //This property needed to be documented using a new name because //the original property contains a banned word for metatype: 'config' //This change will verify if either (or both) original/documented properties //are set. The i...
[ "private", "void", "parseCookieUpdate", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "//This property needed to be documented using a new name because", "//the original property contains a banned word for metatype: 'config'", "//This change will verify if either (o...
Check the configuration map for the Set-Cookie updating no-cache value. @param props
[ "Check", "the", "configuration", "map", "for", "the", "Set", "-", "Cookie", "updating", "no", "-", "cache", "value", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1114-L1140
66,047
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseHeaderChangeLimit
private void parseHeaderChangeLimit(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_HEADER_CHANGE_LIMIT); if (null != value) { try { this.headerChangeLimit = convertInteger(value); if (TraceComponent.isAnyTracingEnabled() && ...
java
private void parseHeaderChangeLimit(Map<Object, Object> props) { Object value = props.get(HttpConfigConstants.PROPNAME_HEADER_CHANGE_LIMIT); if (null != value) { try { this.headerChangeLimit = convertInteger(value); if (TraceComponent.isAnyTracingEnabled() && ...
[ "private", "void", "parseHeaderChangeLimit", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_HEADER_CHANGE_LIMIT", ")", ";", "if", "(", "null", "!=", "v...
Parse the header change limit property. @param props
[ "Parse", "the", "header", "change", "limit", "property", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1147-L1162
66,048
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseRequestSmugglingProtection
private void parseRequestSmugglingProtection(Map<Object, Object> props) { // PK53193 - allow this to be disabled Object value = props.get(HttpConfigConstants.PROPNAME_ENABLE_SMUGGLING_PROTECTION); if (null != value) { this.bEnableSmugglingProtection = convertBoolean(value); ...
java
private void parseRequestSmugglingProtection(Map<Object, Object> props) { // PK53193 - allow this to be disabled Object value = props.get(HttpConfigConstants.PROPNAME_ENABLE_SMUGGLING_PROTECTION); if (null != value) { this.bEnableSmugglingProtection = convertBoolean(value); ...
[ "private", "void", "parseRequestSmugglingProtection", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "// PK53193 - allow this to be disabled", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_ENABLE_SMUGGLING_PRO...
Check whether or not the request smuggling protection has been changed. @param props
[ "Check", "whether", "or", "not", "the", "request", "smuggling", "protection", "has", "been", "changed", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1169-L1178
66,049
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseAutoDecompression
private void parseAutoDecompression(Map<Object, Object> props) { // PK41619 - allow this to be turned off Object value = props.get(HttpConfigConstants.PROPNAME_AUTODECOMPRESSION); if (null != value) { this.bAutoDecompression = convertBoolean(value); if (TraceComponent.isA...
java
private void parseAutoDecompression(Map<Object, Object> props) { // PK41619 - allow this to be turned off Object value = props.get(HttpConfigConstants.PROPNAME_AUTODECOMPRESSION); if (null != value) { this.bAutoDecompression = convertBoolean(value); if (TraceComponent.isA...
[ "private", "void", "parseAutoDecompression", "(", "Map", "<", "Object", ",", "Object", ">", "props", ")", "{", "// PK41619 - allow this to be turned off", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_AUTODECOMPRESSION", ")", ...
Check the configuration map for the property turning on or off the body autodecompression code. @param props
[ "Check", "the", "configuration", "map", "for", "the", "property", "turning", "on", "or", "off", "the", "body", "autodecompression", "code", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1195-L1204
66,050
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parsev0CookieDateRFC1123compat
private void parsev0CookieDateRFC1123compat(Map<?, ?> props) { Object value = props.get(HttpConfigConstants.PROPNAME_V0_COOKIE_RFC1123_COMPAT); if (null != value) { this.v0CookieDateRFC1123compat = convertBoolean(value); } if (TraceComponent.isAnyTracingEnabled() && tc.isEv...
java
private void parsev0CookieDateRFC1123compat(Map<?, ?> props) { Object value = props.get(HttpConfigConstants.PROPNAME_V0_COOKIE_RFC1123_COMPAT); if (null != value) { this.v0CookieDateRFC1123compat = convertBoolean(value); } if (TraceComponent.isAnyTracingEnabled() && tc.isEv...
[ "private", "void", "parsev0CookieDateRFC1123compat", "(", "Map", "<", "?", ",", "?", ">", "props", ")", "{", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_V0_COOKIE_RFC1123_COMPAT", ")", ";", "if", "(", "null", "!=", ...
Check the for the property v0CookieDateRFC1123compat @param props
[ "Check", "the", "for", "the", "property", "v0CookieDateRFC1123compat" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1211-L1221
66,051
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseSkipCookiePathQuotes
private void parseSkipCookiePathQuotes(Map<?, ?> props) { //738893 - Skip adding the quotes to the cookie path attribute String value = (String) props.get(HttpConfigConstants.PROPNAME_SKIP_PATH_QUOTE); if (null != value) { this.skipCookiePathQuotes = convertBoolean(value); ...
java
private void parseSkipCookiePathQuotes(Map<?, ?> props) { //738893 - Skip adding the quotes to the cookie path attribute String value = (String) props.get(HttpConfigConstants.PROPNAME_SKIP_PATH_QUOTE); if (null != value) { this.skipCookiePathQuotes = convertBoolean(value); ...
[ "private", "void", "parseSkipCookiePathQuotes", "(", "Map", "<", "?", ",", "?", ">", "props", ")", "{", "//738893 - Skip adding the quotes to the cookie path attribute", "String", "value", "=", "(", "String", ")", "props", ".", "get", "(", "HttpConfigConstants", "."...
Check the configuration map for if we should skip adding the quote to the cookie path attribute @ param props
[ "Check", "the", "configuration", "map", "for", "if", "we", "should", "skip", "adding", "the", "quote", "to", "the", "cookie", "path", "attribute" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1229-L1238
66,052
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseDoNotAllowDuplicateSetCookies
private void parseDoNotAllowDuplicateSetCookies(Map<?, ?> props) { //PI31734 - prevent multiple Set-Cookies with the same name String value = (String) props.get(HttpConfigConstants.PROPNAME_DO_NOT_ALLOW_DUPLICATE_SET_COOKIES); if (null != value) { this.doNotAllowDuplicateSetCookies =...
java
private void parseDoNotAllowDuplicateSetCookies(Map<?, ?> props) { //PI31734 - prevent multiple Set-Cookies with the same name String value = (String) props.get(HttpConfigConstants.PROPNAME_DO_NOT_ALLOW_DUPLICATE_SET_COOKIES); if (null != value) { this.doNotAllowDuplicateSetCookies =...
[ "private", "void", "parseDoNotAllowDuplicateSetCookies", "(", "Map", "<", "?", ",", "?", ">", "props", ")", "{", "//PI31734 - prevent multiple Set-Cookies with the same name", "String", "value", "=", "(", "String", ")", "props", ".", "get", "(", "HttpConfigConstants",...
Check the configuration map for the property to tell us if we should prevent multiple set-cookies with the same name @ param props
[ "Check", "the", "configuration", "map", "for", "the", "property", "to", "tell", "us", "if", "we", "should", "prevent", "multiple", "set", "-", "cookies", "with", "the", "same", "name" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1245-L1254
66,053
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseWaitForEndOfMessage
private void parseWaitForEndOfMessage(Map props) { //PI11176 String value = (String) props.get(HttpConfigConstants.PROPNAME_WAIT_FOR_END_OF_MESSAGE); if (null != value) { this.waitForEndOfMessage = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEv...
java
private void parseWaitForEndOfMessage(Map props) { //PI11176 String value = (String) props.get(HttpConfigConstants.PROPNAME_WAIT_FOR_END_OF_MESSAGE); if (null != value) { this.waitForEndOfMessage = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEv...
[ "private", "void", "parseWaitForEndOfMessage", "(", "Map", "props", ")", "{", "//PI11176", "String", "value", "=", "(", "String", ")", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_WAIT_FOR_END_OF_MESSAGE", ")", ";", "if", "(", "null", "!=", ...
Check the configuration map for using WaitForEndOfMessage @param props
[ "Check", "the", "configuration", "map", "for", "using", "WaitForEndOfMessage" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1261-L1270
66,054
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseRemoveCLHeaderInTempStatusRespRFC7230compat
private void parseRemoveCLHeaderInTempStatusRespRFC7230compat(Map props) { //PI35277 String value = (String) props.get(HttpConfigConstants.REMOVE_CLHEADER_IN_TEMP_STATUS_RFC7230_COMPAT); if (null != value) { this.removeCLHeaderInTempStatusRespRFC7230compat = convertBoolean(value); ...
java
private void parseRemoveCLHeaderInTempStatusRespRFC7230compat(Map props) { //PI35277 String value = (String) props.get(HttpConfigConstants.REMOVE_CLHEADER_IN_TEMP_STATUS_RFC7230_COMPAT); if (null != value) { this.removeCLHeaderInTempStatusRespRFC7230compat = convertBoolean(value); ...
[ "private", "void", "parseRemoveCLHeaderInTempStatusRespRFC7230compat", "(", "Map", "props", ")", "{", "//PI35277", "String", "value", "=", "(", "String", ")", "props", ".", "get", "(", "HttpConfigConstants", ".", "REMOVE_CLHEADER_IN_TEMP_STATUS_RFC7230_COMPAT", ")", ";"...
Check the configuration map for to see if we should send or not content-length on 1xx and 204 responses @ param props
[ "Check", "the", "configuration", "map", "for", "to", "see", "if", "we", "should", "send", "or", "not", "content", "-", "length", "on", "1xx", "and", "204", "responses" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1277-L1287
66,055
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parsePreventResponseSplit
private void parsePreventResponseSplit(Map<?, ?> props) { //PI45266 String value = (String) props.get(HttpConfigConstants.PROPNAME_PREVENT_RESPONSE_SPLIT); if (null != value) { this.preventResponseSplit = convertBoolean(value); if ((TraceComponent.isAnyTracingEnabled()) &...
java
private void parsePreventResponseSplit(Map<?, ?> props) { //PI45266 String value = (String) props.get(HttpConfigConstants.PROPNAME_PREVENT_RESPONSE_SPLIT); if (null != value) { this.preventResponseSplit = convertBoolean(value); if ((TraceComponent.isAnyTracingEnabled()) &...
[ "private", "void", "parsePreventResponseSplit", "(", "Map", "<", "?", ",", "?", ">", "props", ")", "{", "//PI45266", "String", "value", "=", "(", "String", ")", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_PREVENT_RESPONSE_SPLIT", ")", ";", ...
Check the configuration map for if we should prevent response splitting @ param props
[ "Check", "the", "configuration", "map", "for", "if", "we", "should", "prevent", "response", "splitting" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1294-L1303
66,056
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseAttemptPurgeData
private void parseAttemptPurgeData(Map props) { //PI11176 String value = (String) props.get(HttpConfigConstants.PROPNAME_PURGE_DATA_DURING_CLOSE); if (null != value) { this.attemptPurgeData = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEna...
java
private void parseAttemptPurgeData(Map props) { //PI11176 String value = (String) props.get(HttpConfigConstants.PROPNAME_PURGE_DATA_DURING_CLOSE); if (null != value) { this.attemptPurgeData = convertBoolean(value); if (TraceComponent.isAnyTracingEnabled() && tc.isEventEna...
[ "private", "void", "parseAttemptPurgeData", "(", "Map", "props", ")", "{", "//PI11176", "String", "value", "=", "(", "String", ")", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_PURGE_DATA_DURING_CLOSE", ")", ";", "if", "(", "null", "!=", "va...
Check the configuration map for using purge behavior at the close of the connection @ param props
[ "Check", "the", "configuration", "map", "for", "using", "purge", "behavior", "at", "the", "close", "of", "the", "connection" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1310-L1319
66,057
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseThrowIOEForInboundConnections
private void parseThrowIOEForInboundConnections(Map<?, ?> props) { //PI57542 Object value = props.get(HttpConfigConstants.PROPNAME_THROW_IOE_FOR_INBOUND_CONNECTIONS); if (null != value) { this.throwIOEForInboundConnections = convertBoolean(value); if ((TraceComponent.isAn...
java
private void parseThrowIOEForInboundConnections(Map<?, ?> props) { //PI57542 Object value = props.get(HttpConfigConstants.PROPNAME_THROW_IOE_FOR_INBOUND_CONNECTIONS); if (null != value) { this.throwIOEForInboundConnections = convertBoolean(value); if ((TraceComponent.isAn...
[ "private", "void", "parseThrowIOEForInboundConnections", "(", "Map", "<", "?", ",", "?", ">", "props", ")", "{", "//PI57542", "Object", "value", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_THROW_IOE_FOR_INBOUND_CONNECTIONS", ")", ";", "if"...
Check the configuration map for if we should swallow inbound connections IOEs @ param props
[ "Check", "the", "configuration", "map", "for", "if", "we", "should", "swallow", "inbound", "connections", "IOEs" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1326-L1335
66,058
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parsePurgeRemainingResponseBody
private void parsePurgeRemainingResponseBody(Map<?, ?> props) { String purgeRemainingResponseProperty = AccessController.doPrivileged(new java.security.PrivilegedAction<String>() { @Override public String run() { return (System.getProperty(HttpConfigConstants.PROPNAME_PU...
java
private void parsePurgeRemainingResponseBody(Map<?, ?> props) { String purgeRemainingResponseProperty = AccessController.doPrivileged(new java.security.PrivilegedAction<String>() { @Override public String run() { return (System.getProperty(HttpConfigConstants.PROPNAME_PU...
[ "private", "void", "parsePurgeRemainingResponseBody", "(", "Map", "<", "?", ",", "?", ">", "props", ")", "{", "String", "purgeRemainingResponseProperty", "=", "AccessController", ".", "doPrivileged", "(", "new", "java", ".", "security", ".", "PrivilegedAction", "<...
Check the configuration if we should purge the remaining response data This is a JVM custom property as it's intended for outbound scenarios PI81572 @ param props
[ "Check", "the", "configuration", "if", "we", "should", "purge", "the", "remaining", "response", "data", "This", "is", "a", "JVM", "custom", "property", "as", "it", "s", "intended", "for", "outbound", "scenarios" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1388-L1403
66,059
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.parseProtocolVersion
private void parseProtocolVersion(Map<?, ?> props) { Object protocolVersionProperty = props.get(HttpConfigConstants.PROPNAME_PROTOCOL_VERSION); if (null != protocolVersionProperty) { String protocolVersion = ((String) protocolVersionProperty).toLowerCase(); if (HttpConfigConstan...
java
private void parseProtocolVersion(Map<?, ?> props) { Object protocolVersionProperty = props.get(HttpConfigConstants.PROPNAME_PROTOCOL_VERSION); if (null != protocolVersionProperty) { String protocolVersion = ((String) protocolVersionProperty).toLowerCase(); if (HttpConfigConstan...
[ "private", "void", "parseProtocolVersion", "(", "Map", "<", "?", ",", "?", ">", "props", ")", "{", "Object", "protocolVersionProperty", "=", "props", ".", "get", "(", "HttpConfigConstants", ".", "PROPNAME_PROTOCOL_VERSION", ")", ";", "if", "(", "null", "!=", ...
Check the configuration to see if there is a desired http protocol version that has been provided for this HTTP Channel @param props
[ "Check", "the", "configuration", "to", "see", "if", "there", "is", "a", "desired", "http", "protocol", "version", "that", "has", "been", "provided", "for", "this", "HTTP", "Channel" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1411-L1429
66,060
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.convertBoolean
private boolean convertBoolean(Object o) { if (o instanceof Boolean) return (Boolean) o; return "true".equalsIgnoreCase(o.toString().trim()); }
java
private boolean convertBoolean(Object o) { if (o instanceof Boolean) return (Boolean) o; return "true".equalsIgnoreCase(o.toString().trim()); }
[ "private", "boolean", "convertBoolean", "(", "Object", "o", ")", "{", "if", "(", "o", "instanceof", "Boolean", ")", "return", "(", "Boolean", ")", "o", ";", "return", "\"true\"", ".", "equalsIgnoreCase", "(", "o", ".", "toString", "(", ")", ".", "trim", ...
Convert a String to a boolean value. If the string does not match "true", then it defaults to false. @param s @return boolean
[ "Convert", "a", "String", "to", "a", "boolean", "value", ".", "If", "the", "string", "does", "not", "match", "true", "then", "it", "defaults", "to", "false", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1459-L1463
66,061
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.rangeLimit
private int rangeLimit(int size, int min, int max) { if (size < min) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "Config: " + size + " too small"); } return min; } else if (size > max) { if (TraceCompon...
java
private int rangeLimit(int size, int min, int max) { if (size < min) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "Config: " + size + " too small"); } return min; } else if (size > max) { if (TraceCompon...
[ "private", "int", "rangeLimit", "(", "int", "size", ",", "int", "min", ",", "int", "max", ")", "{", "if", "(", "size", "<", "min", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")...
Take the user input size variable and make sure it is inside the given range of min and max. If it is outside the range, then set the value to the closest limit. @param size @param min @param max @return int
[ "Take", "the", "user", "input", "size", "variable", "and", "make", "sure", "it", "is", "inside", "the", "given", "range", "of", "min", "and", "max", ".", "If", "it", "is", "outside", "the", "range", "then", "set", "the", "value", "to", "the", "closest"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1487-L1500
66,062
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.minLimit
private int minLimit(int input, int min) { if (input < min) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "Config: " + input + " too small."); } return min; } return input; }
java
private int minLimit(int input, int min) { if (input < min) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "Config: " + input + " too small."); } return min; } return input; }
[ "private", "int", "minLimit", "(", "int", "input", ",", "int", "min", ")", "{", "if", "(", "input", "<", "min", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ...
Return the larger value of either the input int or the minimum limit. @param input @param min @return int
[ "Return", "the", "larger", "value", "of", "either", "the", "input", "int", "or", "the", "minimum", "limit", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1510-L1518
66,063
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java
HttpChannelConfig.throwIOEForInboundConnections
public boolean throwIOEForInboundConnections() { //If the httpOption throwIOEForInboundConnections is defined, return that value if (this.throwIOEForInboundConnections != null) return this.throwIOEForInboundConnections; //PI57542 //Otherwise, verify if a declarative service has been...
java
public boolean throwIOEForInboundConnections() { //If the httpOption throwIOEForInboundConnections is defined, return that value if (this.throwIOEForInboundConnections != null) return this.throwIOEForInboundConnections; //PI57542 //Otherwise, verify if a declarative service has been...
[ "public", "boolean", "throwIOEForInboundConnections", "(", ")", "{", "//If the httpOption throwIOEForInboundConnections is defined, return that value", "if", "(", "this", ".", "throwIOEForInboundConnections", "!=", "null", ")", "return", "this", ".", "throwIOEForInboundConnection...
Query whether or not the HTTP Channel should swallow inbound connections IOE @return boolean
[ "Query", "whether", "or", "not", "the", "HTTP", "Channel", "should", "swallow", "inbound", "connections", "IOE" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpChannelConfig.java#L1918-L1929
66,064
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.reactive.streams.operators/src/com/ibm/ws/microprofile/reactive/streams/operators/spi/impl/WASReactiveStreamsEngineImpl.java
WASReactiveStreamsEngineImpl.activate
public void activate(ComponentContext cc) { executorServiceRef.activate(cc); contextServiceRef.activate(cc); ReactiveStreamsFactoryResolver.setInstance(new ReactiveStreamsFactoryImpl()); ReactiveStreamsEngineResolver.setInstance(this); singleton = this; }
java
public void activate(ComponentContext cc) { executorServiceRef.activate(cc); contextServiceRef.activate(cc); ReactiveStreamsFactoryResolver.setInstance(new ReactiveStreamsFactoryImpl()); ReactiveStreamsEngineResolver.setInstance(this); singleton = this; }
[ "public", "void", "activate", "(", "ComponentContext", "cc", ")", "{", "executorServiceRef", ".", "activate", "(", "cc", ")", ";", "contextServiceRef", ".", "activate", "(", "cc", ")", ";", "ReactiveStreamsFactoryResolver", ".", "setInstance", "(", "new", "React...
The OSGi component active call @param cc the OSGi component context
[ "The", "OSGi", "component", "active", "call" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.reactive.streams.operators/src/com/ibm/ws/microprofile/reactive/streams/operators/spi/impl/WASReactiveStreamsEngineImpl.java#L61-L67
66,065
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.reactive.streams.operators/src/com/ibm/ws/microprofile/reactive/streams/operators/spi/impl/WASReactiveStreamsEngineImpl.java
WASReactiveStreamsEngineImpl.deactivate
public void deactivate(ComponentContext cc) { singleton = null; ReactiveStreamsEngineResolver.setInstance(null); ReactiveStreamsFactoryResolver.setInstance(null); executorServiceRef.deactivate(cc); contextServiceRef.deactivate(cc); }
java
public void deactivate(ComponentContext cc) { singleton = null; ReactiveStreamsEngineResolver.setInstance(null); ReactiveStreamsFactoryResolver.setInstance(null); executorServiceRef.deactivate(cc); contextServiceRef.deactivate(cc); }
[ "public", "void", "deactivate", "(", "ComponentContext", "cc", ")", "{", "singleton", "=", "null", ";", "ReactiveStreamsEngineResolver", ".", "setInstance", "(", "null", ")", ";", "ReactiveStreamsFactoryResolver", ".", "setInstance", "(", "null", ")", ";", "execut...
The OSGi component deactive call @param cc the OSGi component context
[ "The", "OSGi", "component", "deactive", "call" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.reactive.streams.operators/src/com/ibm/ws/microprofile/reactive/streams/operators/spi/impl/WASReactiveStreamsEngineImpl.java#L74-L80
66,066
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/ListPool.java
ListPool.getList
public synchronized List getList() { if (tc.isEntryEnabled()) SibTr.entry(tc, "getList"); // Remove a List from the pool List list = (List) listPool.remove(); // If the list is null then there was none available in the pool // So create a new one if (list ==...
java
public synchronized List getList() { if (tc.isEntryEnabled()) SibTr.entry(tc, "getList"); // Remove a List from the pool List list = (List) listPool.remove(); // If the list is null then there was none available in the pool // So create a new one if (list ==...
[ "public", "synchronized", "List", "getList", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"getList\"", ")", ";", "// Remove a List from the pool", "List", "list", "=", "(", "List", ")", "l...
Gets a list from the pool. @return List
[ "Gets", "a", "list", "from", "the", "pool", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/ListPool.java#L56-L77
66,067
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/ListPool.java
ListPool.returnList
public synchronized void returnList(List list) { if (tc.isEntryEnabled()) SibTr.entry(tc, "returnList"); list.clear(); listPool.add(list); if (tc.isEntryEnabled()) SibTr.exit(tc, "returnList"); }
java
public synchronized void returnList(List list) { if (tc.isEntryEnabled()) SibTr.entry(tc, "returnList"); list.clear(); listPool.add(list); if (tc.isEntryEnabled()) SibTr.exit(tc, "returnList"); }
[ "public", "synchronized", "void", "returnList", "(", "List", "list", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"returnList\"", ")", ";", "list", ".", "clear", "(", ")", ";", "listPool", ...
Returns a list back to the pool so that it can be re-used @param list
[ "Returns", "a", "list", "back", "to", "the", "pool", "so", "that", "it", "can", "be", "re", "-", "used" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/ListPool.java#L84-L93
66,068
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSMessageData.java
JSMessageData.setParent
void setParent(JMFMessageData parent) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.entry(this, tc, "setParent", new Object[] { parent }); synchronized (getMessageLockArtefact()) { // If the parent is a JSMessageData then this is straight forward ...
java
void setParent(JMFMessageData parent) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.entry(this, tc, "setParent", new Object[] { parent }); synchronized (getMessageLockArtefact()) { // If the parent is a JSMessageData then this is straight forward ...
[ "void", "setParent", "(", "JMFMessageData", "parent", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "JmfTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setParent\"", ",", ...
method is not private & we're somewhat paranoid.
[ "method", "is", "not", "private", "&", "we", "re", "somewhat", "paranoid", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSMessageData.java#L260-L285
66,069
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSMessageData.java
JSMessageData.ownership
private Object ownership(Object val, boolean forceShared) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.entry(this, tc, "ownership", new Object[] { val, Boolean.valueOf(forceShared) }); if (val instanceof JSMessageData) { ((JSMessageData) val).setParen...
java
private Object ownership(Object val, boolean forceShared) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.entry(this, tc, "ownership", new Object[] { val, Boolean.valueOf(forceShared) }); if (val instanceof JSMessageData) { ((JSMessageData) val).setParen...
[ "private", "Object", "ownership", "(", "Object", "val", ",", "boolean", "forceShared", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "JmfTr", ".", "entry", "(", "this", ",", ...
this new instance, and it logically belongs in the locking scope of this.master.
[ "this", "new", "instance", "and", "it", "logically", "belongs", "in", "the", "locking", "scope", "of", "this", ".", "master", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSMessageData.java#L418-L436
66,070
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSMessageData.java
JSMessageData.checkPrimitiveType
private void checkPrimitiveType(int accessor, int typeCode) throws JMFUninitializedAccessException, JMFSchemaViolationException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.entry(this, tc, "checkPrimitiveType", new Object[] { Integer.valueOf(accessor), Integer.valueOf(typ...
java
private void checkPrimitiveType(int accessor, int typeCode) throws JMFUninitializedAccessException, JMFSchemaViolationException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.entry(this, tc, "checkPrimitiveType", new Object[] { Integer.valueOf(accessor), Integer.valueOf(typ...
[ "private", "void", "checkPrimitiveType", "(", "int", "accessor", ",", "int", "typeCode", ")", "throws", "JMFUninitializedAccessException", ",", "JMFSchemaViolationException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "i...
already hold the lock.
[ "already", "hold", "the", "lock", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSMessageData.java#L929-L966
66,071
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSMessageData.java
JSMessageData.lazyCopy
void lazyCopy(JSMessageData original) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.entry(this, tc, "lazyCopy", new Object[] { original }); synchronized (getMessageLockArtefact()) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) ...
java
void lazyCopy(JSMessageData original) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.entry(this, tc, "lazyCopy", new Object[] { original }); synchronized (getMessageLockArtefact()) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) ...
[ "void", "lazyCopy", "(", "JSMessageData", "original", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "JmfTr", ".", "entry", "(", "this", ",", "tc", ",", "\"lazyCopy\"", ",", ...
setting up the sharing state.
[ "setting", "up", "the", "sharing", "state", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSMessageData.java#L1264-L1315
66,072
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/archaius/composite/CompositeConfig.java
CompositeConfig.getKeySet
public Set<String> getKeySet() { HashSet<String> result = new HashSet<>(); for (PollingDynamicConfig config : children) { Iterator<String> iter = config.getKeys(); while (iter.hasNext()) { String key = iter.next(); result.add(key); } ...
java
public Set<String> getKeySet() { HashSet<String> result = new HashSet<>(); for (PollingDynamicConfig config : children) { Iterator<String> iter = config.getKeys(); while (iter.hasNext()) { String key = iter.next(); result.add(key); } ...
[ "public", "Set", "<", "String", ">", "getKeySet", "(", ")", "{", "HashSet", "<", "String", ">", "result", "=", "new", "HashSet", "<>", "(", ")", ";", "for", "(", "PollingDynamicConfig", "config", ":", "children", ")", "{", "Iterator", "<", "String", ">...
Return a set of all unique keys tracked by any child of this composite. This can be an expensive operations as it requires iterating through all of the children. TODO: Cache keys
[ "Return", "a", "set", "of", "all", "unique", "keys", "tracked", "by", "any", "child", "of", "this", "composite", ".", "This", "can", "be", "an", "expensive", "operations", "as", "it", "requires", "iterating", "through", "all", "of", "the", "children", "." ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/archaius/composite/CompositeConfig.java#L122-L134
66,073
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSDelegatingXAResource.java
MSDelegatingXAResource.isAutoCommit
public final boolean isAutoCommit() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "isAutoCommit"); SibTr.exit(this, tc, "isAutoCommit", "return=false"); } return false; }
java
public final boolean isAutoCommit() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "isAutoCommit"); SibTr.exit(this, tc, "isAutoCommit", "return=false"); } return false; }
[ "public", "final", "boolean", "isAutoCommit", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"isAutoCommit\"", ...
We don't need to delegate this method as we know the answer!
[ "We", "don", "t", "need", "to", "delegate", "this", "method", "as", "we", "know", "the", "answer!" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSDelegatingXAResource.java#L150-L158
66,074
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSDelegatingXAResource.java
MSDelegatingXAResource.incrementCurrentSize
public void incrementCurrentSize() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "incrementCurrentSize"); if (_currentTran != null) { _currentTran.incrementCurrentSize(); } if (TraceComponent....
java
public void incrementCurrentSize() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "incrementCurrentSize"); if (_currentTran != null) { _currentTran.incrementCurrentSize(); } if (TraceComponent....
[ "public", "void", "incrementCurrentSize", "(", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",",...
Feature 199334.1
[ "Feature", "199334", ".", "1" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSDelegatingXAResource.java#L191-L201
66,075
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSDelegatingXAResource.java
MSDelegatingXAResource.isAlive
public boolean isAlive() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "isAlive"); boolean retval = false; if (_currentTran != null) { retval = _currentTran.isAlive(); } if (TraceComponent.isAnyTracingEnabled()...
java
public boolean isAlive() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "isAlive"); boolean retval = false; if (_currentTran != null) { retval = _currentTran.isAlive(); } if (TraceComponent.isAnyTracingEnabled()...
[ "public", "boolean", "isAlive", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"isAlive\"", ")", ";", "boolean", ...
Defect 186657.4
[ "Defect", "186657", ".", "4" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSDelegatingXAResource.java#L204-L217
66,076
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSDelegatingXAResource.java
MSDelegatingXAResource.end
public void end(Xid xid, int flags) throws XAException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "end", new Object[]{"XID="+xid, _manager.xaFlagsToString(flags)}); try { _manager.end(new PersistentTranId(xid), flags); /...
java
public void end(Xid xid, int flags) throws XAException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "end", new Object[]{"XID="+xid, _manager.xaFlagsToString(flags)}); try { _manager.end(new PersistentTranId(xid), flags); /...
[ "public", "void", "end", "(", "Xid", "xid", ",", "int", "flags", ")", "throws", "XAException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ...
Ends the association that this resource has with the passed transaction branch. Either temporarily via a TMSUSPEND or permanently via TMSUCCESS or TMFAIL. @param xid The identifier of the global transaction to dis-associate from. This must match a value previously passed on a call to start. @param flags Completion...
[ "Ends", "the", "association", "that", "this", "resource", "has", "with", "the", "passed", "transaction", "branch", ".", "Either", "temporarily", "via", "a", "TMSUSPEND", "or", "permanently", "via", "TMSUCCESS", "or", "TMFAIL", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSDelegatingXAResource.java#L315-L338
66,077
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSDelegatingXAResource.java
MSDelegatingXAResource.recover
public Xid[] recover(int recoveryId) throws XAException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "recover", "Recovery ID="+recoveryId); Xid[] list = _manager.recover(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.ex...
java
public Xid[] recover(int recoveryId) throws XAException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "recover", "Recovery ID="+recoveryId); Xid[] list = _manager.recover(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.ex...
[ "public", "Xid", "[", "]", "recover", "(", "int", "recoveryId", ")", "throws", "XAException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",...
Used at transaction recovery time to retrieve the list on indoubt XIDs known to the MessageStore instance associated with this MSDelegatingXAResource. @param recoveryId The recovery id of the RM to return indoubt XIDs from @return The list of indoubt XIDs currently known by the MessageStore associated with this XARes...
[ "Used", "at", "transaction", "recovery", "time", "to", "retrieve", "the", "list", "on", "indoubt", "XIDs", "known", "to", "the", "MessageStore", "instance", "associated", "with", "this", "MSDelegatingXAResource", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/transactions/impl/MSDelegatingXAResource.java#L625-L633
66,078
OpenLiberty/open-liberty
dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/util/ASN1Dump.java
ASN1Dump.dumpAsString
public static String dumpAsString( Object obj) { if (obj instanceof DERObject) { return _dumpAsString("", (DERObject) obj); } else if (obj instanceof DEREncodable) { return _dumpAsString("", ((DEREncodable) obj).ge...
java
public static String dumpAsString( Object obj) { if (obj instanceof DERObject) { return _dumpAsString("", (DERObject) obj); } else if (obj instanceof DEREncodable) { return _dumpAsString("", ((DEREncodable) obj).ge...
[ "public", "static", "String", "dumpAsString", "(", "Object", "obj", ")", "{", "if", "(", "obj", "instanceof", "DERObject", ")", "{", "return", "_dumpAsString", "(", "\"\"", ",", "(", "DERObject", ")", "obj", ")", ";", "}", "else", "if", "(", "obj", "in...
dump out a DER object as a formatted string @param obj the DERObject to be dumped out.
[ "dump", "out", "a", "DER", "object", "as", "a", "formatted", "string" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/util/ASN1Dump.java#L322-L335
66,079
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/utils/MpJwtAppSetupUtils.java
MpJwtAppSetupUtils.deployMicroProfileLoginConfigFormLoginInWebXmlBasicInApp
public void deployMicroProfileLoginConfigFormLoginInWebXmlBasicInApp(LibertyServer server) throws Exception { List<String> classList = createAppClassListBuildAppNames("CommonMicroProfileMarker_FormLoginInWeb_BasicInApp", "MicroProfileLoginConfigFormLoginInWebXmlBasicInApp"); ShrinkHelper.exportAppToServ...
java
public void deployMicroProfileLoginConfigFormLoginInWebXmlBasicInApp(LibertyServer server) throws Exception { List<String> classList = createAppClassListBuildAppNames("CommonMicroProfileMarker_FormLoginInWeb_BasicInApp", "MicroProfileLoginConfigFormLoginInWebXmlBasicInApp"); ShrinkHelper.exportAppToServ...
[ "public", "void", "deployMicroProfileLoginConfigFormLoginInWebXmlBasicInApp", "(", "LibertyServer", "server", ")", "throws", "Exception", "{", "List", "<", "String", ">", "classList", "=", "createAppClassListBuildAppNames", "(", "\"CommonMicroProfileMarker_FormLoginInWeb_BasicInA...
create app with loginConfig set to Form Login in WEB.xml, and Basic in the App @param server @throws Exception
[ "create", "app", "with", "loginConfig", "set", "to", "Form", "Login", "in", "WEB", ".", "xml", "and", "Basic", "in", "the", "App" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/utils/MpJwtAppSetupUtils.java#L75-L79
66,080
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/utils/MpJwtAppSetupUtils.java
MpJwtAppSetupUtils.genericCreateArchiveWithPems
protected WebArchive genericCreateArchiveWithPems(String sourceWarName, String baseWarName, List<String> classList) throws Exception { try { String warName = baseWarName + ".war"; WebArchive newWar = ShrinkWrap.create(WebArchive.class, warName); addDefaultFileAssetsForAppsToW...
java
protected WebArchive genericCreateArchiveWithPems(String sourceWarName, String baseWarName, List<String> classList) throws Exception { try { String warName = baseWarName + ".war"; WebArchive newWar = ShrinkWrap.create(WebArchive.class, warName); addDefaultFileAssetsForAppsToW...
[ "protected", "WebArchive", "genericCreateArchiveWithPems", "(", "String", "sourceWarName", ",", "String", "baseWarName", ",", "List", "<", "String", ">", "classList", ")", "throws", "Exception", "{", "try", "{", "String", "warName", "=", "baseWarName", "+", "\".wa...
Create a test war using files from the source war and the classList. Add a default list of pem files @param sourceWarName - the source war to get xml files from @param baseWarName - the base name of the war file to create @param classList - the list of classes to add to the war @return - return a war built from the sp...
[ "Create", "a", "test", "war", "using", "files", "from", "the", "source", "war", "and", "the", "classList", ".", "Add", "a", "default", "list", "of", "pem", "files" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/utils/MpJwtAppSetupUtils.java#L176-L190
66,081
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/utils/MpJwtAppSetupUtils.java
MpJwtAppSetupUtils.genericCreateArchiveWithPemsAndMPConfig
protected WebArchive genericCreateArchiveWithPemsAndMPConfig(String sourceWarName, String baseWarName, List<String> classList, String mpConfig, String fileContent) throws Exception { try { WebArchive newWar = genericCreateArchiveWithPe...
java
protected WebArchive genericCreateArchiveWithPemsAndMPConfig(String sourceWarName, String baseWarName, List<String> classList, String mpConfig, String fileContent) throws Exception { try { WebArchive newWar = genericCreateArchiveWithPe...
[ "protected", "WebArchive", "genericCreateArchiveWithPemsAndMPConfig", "(", "String", "sourceWarName", ",", "String", "baseWarName", ",", "List", "<", "String", ">", "classList", ",", "String", "mpConfig", ",", "String", "fileContent", ")", "throws", "Exception", "{", ...
Create a test war using files from the source war and the classList. Add a default list of pem files. Also add a microprofile-config.properties file with the content passed to this method @param sourceWarName - the source war to get xml files from @param baseWarName - the base name of the war file to create @param cla...
[ "Create", "a", "test", "war", "using", "files", "from", "the", "source", "war", "and", "the", "classList", ".", "Add", "a", "default", "list", "of", "pem", "files", ".", "Also", "add", "a", "microprofile", "-", "config", ".", "properties", "file", "with"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/utils/MpJwtAppSetupUtils.java#L204-L214
66,082
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/utils/MpJwtAppSetupUtils.java
MpJwtAppSetupUtils.createAppClassListBuildAppNames
public List<String> createAppClassListBuildAppNames(String app1, String app2, String app3) throws Exception { List<String> classList = createAppClassListBuildAppNames(app1, app2); classList.add("com.ibm.ws.jaxrs.fat.microProfileApp." + app2 + ".MicroProfileApp" + app3); return classList; }
java
public List<String> createAppClassListBuildAppNames(String app1, String app2, String app3) throws Exception { List<String> classList = createAppClassListBuildAppNames(app1, app2); classList.add("com.ibm.ws.jaxrs.fat.microProfileApp." + app2 + ".MicroProfileApp" + app3); return classList; }
[ "public", "List", "<", "String", ">", "createAppClassListBuildAppNames", "(", "String", "app1", ",", "String", "app2", ",", "String", "app3", ")", "throws", "Exception", "{", "List", "<", "String", ">", "classList", "=", "createAppClassListBuildAppNames", "(", "...
All of the test apps following the same naming convention. We can build the class names @param app1 - test app 1 @param app2 - test app 2 @param app3 - test app 3 if it exists @return @throws Exception
[ "All", "of", "the", "test", "apps", "following", "the", "same", "naming", "convention", ".", "We", "can", "build", "the", "class", "names" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/utils/MpJwtAppSetupUtils.java#L294-L300
66,083
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/response/StoredResponse.java
StoredResponse.getOutputBufferAsString
public String getOutputBufferAsString() throws IOException { byte[] buffer = getOutputBuffer(); if (buffer != null) return new String(buffer, this.getCharacterEncoding()); else return null; }
java
public String getOutputBufferAsString() throws IOException { byte[] buffer = getOutputBuffer(); if (buffer != null) return new String(buffer, this.getCharacterEncoding()); else return null; }
[ "public", "String", "getOutputBufferAsString", "(", ")", "throws", "IOException", "{", "byte", "[", "]", "buffer", "=", "getOutputBuffer", "(", ")", ";", "if", "(", "buffer", "!=", "null", ")", "return", "new", "String", "(", "buffer", ",", "this", ".", ...
Get the output from the response outputstream as a String. This method should only be used to retrieve content that is known to be text based. Using this method to retrieve binary data will corrupt the response data.
[ "Get", "the", "output", "from", "the", "response", "outputstream", "as", "a", "String", ".", "This", "method", "should", "only", "be", "used", "to", "retrieve", "content", "that", "is", "known", "to", "be", "text", "based", ".", "Using", "this", "method", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/response/StoredResponse.java#L727-L734
66,084
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/response/StoredResponse.java
StoredResponse.transferResponse
public void transferResponse(HttpServletResponse target) throws IOException // never // called // for // ARD. // would // be // in // trouble // with // a // bunch // of // include // warnings { _finish(); if (containsError()) { // transfer error String message = get...
java
public void transferResponse(HttpServletResponse target) throws IOException // never // called // for // ARD. // would // be // in // trouble // with // a // bunch // of // include // warnings { _finish(); if (containsError()) { // transfer error String message = get...
[ "public", "void", "transferResponse", "(", "HttpServletResponse", "target", ")", "throws", "IOException", "// never", "// called", "// for", "// ARD.", "// would", "// be", "// in", "// trouble", "// with", "// a", "// bunch", "// of", "// include", "// warnings", "{", ...
Copy the contents of this response to another HttpServletResponse. This method is optimized to quickly transfer the contents of this response into another response. This method is useful when this response is cached to generate the same response later.
[ "Copy", "the", "contents", "of", "this", "response", "to", "another", "HttpServletResponse", ".", "This", "method", "is", "optimized", "to", "quickly", "transfer", "the", "contents", "of", "this", "response", "into", "another", "response", ".", "This", "method",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/response/StoredResponse.java#L1051-L1160
66,085
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/websphere/sib/Reliability.java
Reliability.getReliabilityByName
public final static Reliability getReliabilityByName(String name) throws NullPointerException, IllegalArgumentException { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.info(tc, "Name = " + name); if (name == null) { throw new Nul...
java
public final static Reliability getReliabilityByName(String name) throws NullPointerException, IllegalArgumentException { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.info(tc, "Name = " + name); if (name == null) { throw new Nul...
[ "public", "final", "static", "Reliability", "getReliabilityByName", "(", "String", "name", ")", "throws", "NullPointerException", ",", "IllegalArgumentException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled"...
Returns the corresponding Reliability for a given name. This method should NOT be called by any code outside the SIBus. It is only public so that it can be accessed by other SIBus components. @param name The toString value of a Reliability constant. @return The corresponding Reliability
[ "Returns", "the", "corresponding", "Reliability", "for", "a", "given", "name", ".", "This", "method", "should", "NOT", "be", "called", "by", "any", "code", "outside", "the", "SIBus", ".", "It", "is", "only", "public", "so", "that", "it", "can", "be", "ac...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/websphere/sib/Reliability.java#L296-L316
66,086
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/websphere/sib/Reliability.java
Reliability.getReliabilityByIndex
public final static Reliability getReliabilityByIndex(int mpIndex) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.info(tc, "Index = " + mpIndex); return indexSet[mpIndex + 1]; }
java
public final static Reliability getReliabilityByIndex(int mpIndex) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.info(tc, "Index = " + mpIndex); return indexSet[mpIndex + 1]; }
[ "public", "final", "static", "Reliability", "getReliabilityByIndex", "(", "int", "mpIndex", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "SibTr", ".", "info", "(", "tc", ",", ...
Returns the corresponding Reliability for a given index. This method should NOT be called by any code outside the SIBus. It is only public so that it can be accessed by other SIBus components. @param mpIndex The MP index for which an Reliability is required. MP use -1 for NONE and start at 0 for real values. @return ...
[ "Returns", "the", "corresponding", "Reliability", "for", "a", "given", "index", ".", "This", "method", "should", "NOT", "be", "called", "by", "any", "code", "outside", "the", "SIBus", ".", "It", "is", "only", "public", "so", "that", "it", "can", "be", "a...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/websphere/sib/Reliability.java#L328-L332
66,087
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/websphere/sib/Reliability.java
Reliability.getReliability
public final static Reliability getReliability(Byte aValue) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.info(tc, "Value = " + aValue); return set[aValue.intValue()]; }
java
public final static Reliability getReliability(Byte aValue) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.info(tc, "Value = " + aValue); return set[aValue.intValue()]; }
[ "public", "final", "static", "Reliability", "getReliability", "(", "Byte", "aValue", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "SibTr", ".", "info", "(", "tc", ",", "\"Val...
Returns the corresponding Reliability for a given Byte. This method should NOT be called by any code outside the MFP component. It is only public so that it can be accessed by sub-packages. @param aValue The Byte for which an Reliability is required. @return The corresponding Reliability
[ "Returns", "the", "corresponding", "Reliability", "for", "a", "given", "Byte", ".", "This", "method", "should", "NOT", "be", "called", "by", "any", "code", "outside", "the", "MFP", "component", ".", "It", "is", "only", "public", "so", "that", "it", "can", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/websphere/sib/Reliability.java#L354-L358
66,088
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/HpelPlainFormatter.java
HpelPlainFormatter.getHeader
@Override public String[] getHeader() { ArrayList<String> result = new ArrayList<String>(); if (customHeader.length > 0) { for (CustomHeaderLine line: customHeader) { String formattedLine = line.formatLine(headerProps); if (formattedLine != null) { result.add(formattedLine); } } } else ...
java
@Override public String[] getHeader() { ArrayList<String> result = new ArrayList<String>(); if (customHeader.length > 0) { for (CustomHeaderLine line: customHeader) { String formattedLine = line.formatLine(headerProps); if (formattedLine != null) { result.add(formattedLine); } } } else ...
[ "@", "Override", "public", "String", "[", "]", "getHeader", "(", ")", "{", "ArrayList", "<", "String", ">", "result", "=", "new", "ArrayList", "<", "String", ">", "(", ")", ";", "if", "(", "customHeader", ".", "length", ">", "0", ")", "{", "for", "...
Gets the file header information. Implementations of the HpelPlainFormatter class will have a non-XML-based header. @return the formatter's header as a String
[ "Gets", "the", "file", "header", "information", ".", "Implementations", "of", "the", "HpelPlainFormatter", "class", "will", "have", "a", "non", "-", "XML", "-", "based", "header", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/HpelPlainFormatter.java#L29-L47
66,089
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/HpelPlainFormatter.java
HpelPlainFormatter.createEventTimeStamp
protected void createEventTimeStamp(RepositoryLogRecord record, StringBuilder buffer) { if (null == record) { throw new IllegalArgumentException("Record cannot be null"); } if (null == buffer) { throw new IllegalArgumentException("Buffer cannot be null"); } // Create the time stamp buffer.append('[');...
java
protected void createEventTimeStamp(RepositoryLogRecord record, StringBuilder buffer) { if (null == record) { throw new IllegalArgumentException("Record cannot be null"); } if (null == buffer) { throw new IllegalArgumentException("Buffer cannot be null"); } // Create the time stamp buffer.append('[');...
[ "protected", "void", "createEventTimeStamp", "(", "RepositoryLogRecord", "record", ",", "StringBuilder", "buffer", ")", "{", "if", "(", "null", "==", "record", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"Record cannot be null\"", ")", ";", "}", "...
Generates the time stamp for the RepositoryLogRecord event. The resulting time stamp is formatted based on the formatter's locale and time zone. @param record of the event. @param buffer output buffer where converted timestamp is appended to.
[ "Generates", "the", "time", "stamp", "for", "the", "RepositoryLogRecord", "event", ".", "The", "resulting", "time", "stamp", "is", "formatted", "based", "on", "the", "formatter", "s", "locale", "and", "time", "zone", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/HpelPlainFormatter.java#L56-L73
66,090
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/HpelPlainFormatter.java
HpelPlainFormatter.mapLevelToType
protected static String mapLevelToType(RepositoryLogRecord logRecord) { if (null == logRecord) { return " Z "; } Level l = logRecord.getLevel(); if (null == l) { return " Z "; } // In HPEL SystemOut and SystemErr are recorded in custom level but since we want // them to be handled specially do it no...
java
protected static String mapLevelToType(RepositoryLogRecord logRecord) { if (null == logRecord) { return " Z "; } Level l = logRecord.getLevel(); if (null == l) { return " Z "; } // In HPEL SystemOut and SystemErr are recorded in custom level but since we want // them to be handled specially do it no...
[ "protected", "static", "String", "mapLevelToType", "(", "RepositoryLogRecord", "logRecord", ")", "{", "if", "(", "null", "==", "logRecord", ")", "{", "return", "\" Z \"", ";", "}", "Level", "l", "=", "logRecord", ".", "getLevel", "(", ")", ";", "if", "(", ...
Generates the short type string based off the RepositoryLogRecord's Level. @param logRecord @return String - The type.
[ "Generates", "the", "short", "type", "string", "based", "off", "the", "RepositoryLogRecord", "s", "Level", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/websphere/logging/hpel/reader/HpelPlainFormatter.java#L82-L140
66,091
OpenLiberty/open-liberty
dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/twitter/TwitterTokenServices.java
TwitterTokenServices.setCookies
protected void setCookies(HttpServletRequest request, HttpServletResponse response, String requestToken, String stateValue) { ReferrerURLCookieHandler referrerURLCookieHandler = WebAppSecurityCollaboratorImpl.getGlobalWebAppSecurityConfig().createReferrerURLCookieHandler(); // Create cookie for request...
java
protected void setCookies(HttpServletRequest request, HttpServletResponse response, String requestToken, String stateValue) { ReferrerURLCookieHandler referrerURLCookieHandler = WebAppSecurityCollaboratorImpl.getGlobalWebAppSecurityConfig().createReferrerURLCookieHandler(); // Create cookie for request...
[ "protected", "void", "setCookies", "(", "HttpServletRequest", "request", ",", "HttpServletResponse", "response", ",", "String", "requestToken", ",", "String", "stateValue", ")", "{", "ReferrerURLCookieHandler", "referrerURLCookieHandler", "=", "WebAppSecurityCollaboratorImpl"...
Sets cookies for the provided request token and the original request URL. These values can then be verified and used in subsequent requests. @param request @param response @param requestToken @param stateValue
[ "Sets", "cookies", "for", "the", "provided", "request", "token", "and", "the", "original", "request", "URL", ".", "These", "values", "can", "then", "be", "verified", "and", "used", "in", "subsequent", "requests", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.social/src/com/ibm/ws/security/social/twitter/TwitterTokenServices.java#L188-L200
66,092
OpenLiberty/open-liberty
dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/security/ClientSecurityInterceptor.java
ClientSecurityInterceptor.setUnauthenticatedSubjectIfNeeded
private void setUnauthenticatedSubjectIfNeeded() { if (LocationUtils.isServer()) { com.ibm.ws.security.context.SubjectManager sm = new com.ibm.ws.security.context.SubjectManager(); Subject invokedSubject = sm.getInvocationSubject(); if (invokedSubject == null) { ...
java
private void setUnauthenticatedSubjectIfNeeded() { if (LocationUtils.isServer()) { com.ibm.ws.security.context.SubjectManager sm = new com.ibm.ws.security.context.SubjectManager(); Subject invokedSubject = sm.getInvocationSubject(); if (invokedSubject == null) { ...
[ "private", "void", "setUnauthenticatedSubjectIfNeeded", "(", ")", "{", "if", "(", "LocationUtils", ".", "isServer", "(", ")", ")", "{", "com", ".", "ibm", ".", "ws", ".", "security", ".", "context", ".", "SubjectManager", "sm", "=", "new", "com", ".", "i...
Create un-authenticate subject if both caller and invoke subjects are null for client. We do not want to do this for client container.
[ "Create", "un", "-", "authenticate", "subject", "if", "both", "caller", "and", "invoke", "subjects", "are", "null", "for", "client", ".", "We", "do", "not", "want", "to", "do", "this", "for", "client", "container", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/security/ClientSecurityInterceptor.java#L190-L205
66,093
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/HTTPConduit.java
HTTPConduit.updateClientPolicy
private void updateClientPolicy(Message m) { if (!clientSidePolicyCalced) { PolicyDataEngine policyEngine = bus.getExtension(PolicyDataEngine.class); if (policyEngine != null && endpointInfo.getService() != null) { clientSidePolicy = policyEngine.getClientEndpointPolicy(m...
java
private void updateClientPolicy(Message m) { if (!clientSidePolicyCalced) { PolicyDataEngine policyEngine = bus.getExtension(PolicyDataEngine.class); if (policyEngine != null && endpointInfo.getService() != null) { clientSidePolicy = policyEngine.getClientEndpointPolicy(m...
[ "private", "void", "updateClientPolicy", "(", "Message", "m", ")", "{", "if", "(", "!", "clientSidePolicyCalced", ")", "{", "PolicyDataEngine", "policyEngine", "=", "bus", ".", "getExtension", "(", "PolicyDataEngine", ".", "class", ")", ";", "if", "(", "policy...
updates the HTTPClientPolicy that is compatible with the assertions included in the service, endpoint, operation and message policy subjects if a PolicyDataEngine is installed wsdl extensors are superseded by policies which in turn are superseded by injection
[ "updates", "the", "HTTPClientPolicy", "that", "is", "compatible", "with", "the", "assertions", "included", "in", "the", "service", "endpoint", "operation", "and", "message", "policy", "subjects", "if", "a", "PolicyDataEngine", "is", "installed" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/HTTPConduit.java#L326-L341
66,094
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/HTTPConduit.java
HTTPConduit.finalizeConfig
public void finalizeConfig() { // See if not set by configuration, if there are defaults // in order from the Endpoint, Service, or Bus. configureConduitFromEndpointInfo(this, endpointInfo); logConfig(); if (getClient().getDecoupledEndpoint() != null) { this.endpoin...
java
public void finalizeConfig() { // See if not set by configuration, if there are defaults // in order from the Endpoint, Service, or Bus. configureConduitFromEndpointInfo(this, endpointInfo); logConfig(); if (getClient().getDecoupledEndpoint() != null) { this.endpoin...
[ "public", "void", "finalizeConfig", "(", ")", "{", "// See if not set by configuration, if there are defaults", "// in order from the Endpoint, Service, or Bus.", "configureConduitFromEndpointInfo", "(", "this", ",", "endpointInfo", ")", ";", "logConfig", "(", ")", ";", "if", ...
This call gets called by the HTTPTransportFactory after it causes an injection of the Spring configuration properties of this Conduit.
[ "This", "call", "gets", "called", "by", "the", "HTTPTransportFactory", "after", "it", "causes", "an", "injection", "of", "the", "Spring", "configuration", "properties", "of", "this", "Conduit", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/HTTPConduit.java#L449-L460
66,095
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/HTTPConduit.java
HTTPConduit.getEffectiveAuthPolicy
public AuthorizationPolicy getEffectiveAuthPolicy(Message message) { AuthorizationPolicy authPolicy = getAuthorization(); AuthorizationPolicy newPolicy = message.get(AuthorizationPolicy.class); AuthorizationPolicy effectivePolicy = newPolicy; if (effectivePolicy == null) { ef...
java
public AuthorizationPolicy getEffectiveAuthPolicy(Message message) { AuthorizationPolicy authPolicy = getAuthorization(); AuthorizationPolicy newPolicy = message.get(AuthorizationPolicy.class); AuthorizationPolicy effectivePolicy = newPolicy; if (effectivePolicy == null) { ef...
[ "public", "AuthorizationPolicy", "getEffectiveAuthPolicy", "(", "Message", "message", ")", "{", "AuthorizationPolicy", "authPolicy", "=", "getAuthorization", "(", ")", ";", "AuthorizationPolicy", "newPolicy", "=", "message", ".", "get", "(", "AuthorizationPolicy", ".", ...
Determines effective auth policy from message, conduit and empty default with priority from first to last @param message @return effective AthorizationPolicy
[ "Determines", "effective", "auth", "policy", "from", "message", "conduit", "and", "empty", "default", "with", "priority", "from", "first", "to", "last" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/HTTPConduit.java#L872-L883
66,096
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/HTTPConduit.java
HTTPConduit.setClient
public void setClient(HTTPClientPolicy client) { if (this.clientSidePolicy != null) { this.clientSidePolicy.removePropertyChangeListener(this); } this.clientSidePolicyCalced = true; this.clientSidePolicy = client; clientSidePolicy.removePropertyChangeListener(this); /...
java
public void setClient(HTTPClientPolicy client) { if (this.clientSidePolicy != null) { this.clientSidePolicy.removePropertyChangeListener(this); } this.clientSidePolicyCalced = true; this.clientSidePolicy = client; clientSidePolicy.removePropertyChangeListener(this); /...
[ "public", "void", "setClient", "(", "HTTPClientPolicy", "client", ")", "{", "if", "(", "this", ".", "clientSidePolicy", "!=", "null", ")", "{", "this", ".", "clientSidePolicy", ".", "removePropertyChangeListener", "(", "this", ")", ";", "}", "this", ".", "cl...
This method sets the Client Side Policy for this HTTPConduit. Using this method will override any HTTPClientPolicy set in configuration.
[ "This", "method", "sets", "the", "Client", "Side", "Policy", "for", "this", "HTTPConduit", ".", "Using", "this", "method", "will", "override", "any", "HTTPClientPolicy", "set", "in", "configuration", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/HTTPConduit.java#L932-L941
66,097
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/HTTPConduit.java
HTTPConduit.setTlsClientParameters
public void setTlsClientParameters(TLSClientParameters params) { this.tlsClientParameters = params; if (this.tlsClientParameters != null) { if (LOG.isLoggable(Level.FINE)) { LOG.log(Level.FINE, "Conduit '" + getConduitName() + "' has been (re) configured f...
java
public void setTlsClientParameters(TLSClientParameters params) { this.tlsClientParameters = params; if (this.tlsClientParameters != null) { if (LOG.isLoggable(Level.FINE)) { LOG.log(Level.FINE, "Conduit '" + getConduitName() + "' has been (re) configured f...
[ "public", "void", "setTlsClientParameters", "(", "TLSClientParameters", "params", ")", "{", "this", ".", "tlsClientParameters", "=", "params", ";", "if", "(", "this", ".", "tlsClientParameters", "!=", "null", ")", "{", "if", "(", "LOG", ".", "isLoggable", "(",...
This method sets the TLS Client Parameters for this HTTPConduit. Using this method overrides any TLS Client Parameters that is configured for this HTTPConduit.
[ "This", "method", "sets", "the", "TLS", "Client", "Parameters", "for", "this", "HTTPConduit", ".", "Using", "this", "method", "overrides", "any", "TLS", "Client", "Parameters", "that", "is", "configured", "for", "this", "HTTPConduit", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/HTTPConduit.java#L975-L995
66,098
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/HTTPConduit.java
HTTPConduit.extractLocation
protected String extractLocation(Map<String, List<String>> headers) throws MalformedURLException { for (Map.Entry<String, List<String>> head : headers.entrySet()) { if ("Location".equalsIgnoreCase(head.getKey())) { List<String> locs = head.getValue(); if (locs != null...
java
protected String extractLocation(Map<String, List<String>> headers) throws MalformedURLException { for (Map.Entry<String, List<String>> head : headers.entrySet()) { if ("Location".equalsIgnoreCase(head.getKey())) { List<String> locs = head.getValue(); if (locs != null...
[ "protected", "String", "extractLocation", "(", "Map", "<", "String", ",", "List", "<", "String", ">", ">", "headers", ")", "throws", "MalformedURLException", "{", "for", "(", "Map", ".", "Entry", "<", "String", ",", "List", "<", "String", ">", ">", "head...
This method extracts the value of the "Location" Http Response header. @param headers The Http response headers. @return The value of the "Location" header, null if non-existent. @throws MalformedURLException
[ "This", "method", "extracts", "the", "value", "of", "the", "Location", "Http", "Response", "header", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/HTTPConduit.java#L1045-L1060
66,099
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/HTTPConduit.java
HTTPConduit.convertToAbsoluteUrlIfNeeded
private static String convertToAbsoluteUrlIfNeeded(String conduitName, String lastURL, String newURL, Message message) throws IOException { if (new...
java
private static String convertToAbsoluteUrlIfNeeded(String conduitName, String lastURL, String newURL, Message message) throws IOException { if (new...
[ "private", "static", "String", "convertToAbsoluteUrlIfNeeded", "(", "String", "conduitName", ",", "String", "lastURL", ",", "String", "newURL", ",", "Message", "message", ")", "throws", "IOException", "{", "if", "(", "newURL", "!=", "null", "&&", "!", "newURL", ...
Relative Location values are also supported
[ "Relative", "Location", "values", "are", "also", "supported" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/HTTPConduit.java#L1909-L1927